Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
/ intel-8080-kit Public archive

An Intel 8080 library crate written in Rust that provides an assembler, a disassembler and an emulator with example executables

License

Notifications You must be signed in to change notification settings

bynect/intel-8080-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intel-8080-kit

cratesio-badge

An Intel 8080 library crate written in Rust that provides an assembler, a disassembler and an emulator with respective executables.

The assembler currently supports only a subset of the Intel 8080 assembly language.

Assembler example

$ cargo run --bin asm8080 tests/basic.asm
Emitted 8 bytes to out.bin from tests/basic.asm.

Disassembler example

$ cargo run --bin dis8080 out.bin
PC        OPCODE
0000      In(0)
0002      MviB(100)
0004      AddB
0005      Out(10)
0007      Hlt

Emulator example

$ cargo run --bin emu8080 out.bin
Input byte from port 0.
Output byte 100 to port 10.
Execution of out.bin took 23.8µs.