- Problem to this question problem
- This is 16bit computer simulator and assembler. This has been implemented using the pesapal-arch.
- The problem was to build a 16bit computer but so as to fit the address and avoid some bit integers(immediate value and addresses) being stripped off when decoding them to 16bits to avoid that I added extra 16bit for every instruction to address that(address/immediate value).
Prerequites
- Rust installed rust
$ cd assembler
$ cargo run --bin assembler -- -i test.s -o test.bin
$ cd assembler
$ cargo run --bin computer -- -i test.bin