jaredr / rust86

Emulator for a subset of the 8086, in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust86

This is a partial 8086 emulator, written in Rust.

Much of the 8086's instruction set is implemented, but interrupts, IO, floating point, and segments are not. The subset of the 8086 supported is roughly enough to run codegolf.asm from This stackexchange code golf challenge.

rust86 is purely a for-fun project, of course. Its main purpose was to keep me up to date with the changing Rust language until 1.0.0-alpha was frozen.

Build & run

git clone https://github.com/ianpreston/rust86.git
cargo build

nasm -f bin asm/hello.asm -o hello.bin
./target/rust86 hello.bin

License

rust86 is licensed under the WTFPL.

About

Emulator for a subset of the 8086, in Rust.


Languages

Language:Rust 89.3%Language:Assembly 10.7%