Skip to content

wxmbugu/computer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PROBLEM - 0 : COMPUTER

  • 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

RUN ASSEMBLER

$ cd assembler
$ cargo run --bin assembler --  -i test.s -o test.bin         

RUN SIMULATOR

$ cd assembler
$ cargo run --bin computer -- -i test.bin       

Acknowledgements

About

pesapal '23 assembler && simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published