Skip to content
/ rust86 Public
forked from ianpreston/rust86

Emulator for a subset of the 8086, in Rust.

Notifications You must be signed in to change notification settings

jaredr/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

Languages

  • Rust 89.3%
  • Assembly 10.7%