Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bynect/intel-8080-kit
An Intel 8080 library crate written in Rust that provides an assembler, a disassembler and an emulator with example executables
https://github.com/bynect/intel-8080-kit
8080 asm assembler assembly assembly-language cli disassembler emulator executable intel8080 python3 rust rust-bin rust-crate rust-library
Last synced: about 1 month ago
JSON representation
An Intel 8080 library crate written in Rust that provides an assembler, a disassembler and an emulator with example executables
- Host: GitHub
- URL: https://github.com/bynect/intel-8080-kit
- Owner: bynect
- License: mit
- Archived: true
- Created: 2021-03-15T08:21:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-28T21:47:51.000Z (over 3 years ago)
- Last Synced: 2024-09-25T22:59:16.916Z (about 1 month ago)
- Topics: 8080, asm, assembler, assembly, assembly-language, cli, disassembler, emulator, executable, intel8080, python3, rust, rust-bin, rust-crate, rust-library
- Language: Rust
- Homepage: https://crates.io/crates/intel-8080-kit
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# intel-8080-kit
[![cratesio-badge](https://img.shields.io/crates/v/intel-8080-kit)](https://crates.io/crates/intel-8080-kit)
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
```sh
$ cargo run --bin asm8080 tests/basic.asm
Emitted 8 bytes to out.bin from tests/basic.asm.
```## Disassembler example
```sh
$ cargo run --bin dis8080 out.bin
PC OPCODE
0000 In(0)
0002 MviB(100)
0004 AddB
0005 Out(10)
0007 Hlt
```## Emulator example
```sh
$ 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.
```