Skip to content

ianpreston/rust86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published