lc3_vm
lc3_vm copied to clipboard
LC-3 (Little Computer 3) VM implemented in Rust
lc3_vm
LC-3 (Little Computer 3) VM implemented in Rust. Ideally, it will run any LC-3 assembly program.
Motivation :
Example#1 : Play 2048!
$ cargo run ./resources/2048.obj
Result
+--------------------------+
| |
| 2 |
| |
| |
| |
| 2 |
| |
| |
| |
+--------------------------+
Example#2 : Play Rogue!
$ cargo run ./resources/rogue.obj
Result
################## ############
################### ########
####################### #
######################## # #
###############################D
################################
################################
@ ##############################
# #############################
## ##########################
##### #########################
###### ########################
####### ######################
######### ###################
############ ## ##############
############# #############