Noob rustacean version of Nate.
A codegolf challenge captured my attention, Emulate an Intel 8086 CPU.
Here is the result:
mca8086.rs
is the core that fulfill the "fetch and decode" step (inspired by NaTE).
cpu.rs
offers a basic CPU initialization.
cpu_exec.rs
emulates an instruction previously disassembled by mca8086.
Please note that the video memory is not properly emulated; features such as segments and interrupts are not supported.
The program is licensed under GPL v.3.