Emulator of an LS8-CPU coded in Python (school project) - able to run imported machine instruction .ls8 files
- Inventory what is here
- Implement the
CPU
constructor - Add RAM functions
ram_read()
andram_write()
- Implement the core of
run()
- Implement the
HLT
instruction handler - Add the
LDI
instruction - Add the
PRN
instruction
- Un-hardcode the machine code
- Implement the
load()
function to load an.ls8
file given the filename passed in as an argument - Implement a Multiply instruction (run
mult.ls8
)
- Implement the System Stack and be able to run the
stack.ls8
program
- Implement the CALL and RET instructions
- Implement Subroutine Calls and be able to run the
call.ls8
program
- Add the timer interrupt to the LS-8 emulator
- Add the keyboard interrupt to the LS-8 emulator
- Write an LS-8 assembly program to draw a curved histogram on the screen