TheEmeraldBee / UVSim

CS-2450 UVSim Project
1 stars 0 forks source link

CPU Implementation #5

Closed TheEmeraldBee closed 1 week ago

TheEmeraldBee commented 1 week ago

Create a CPU Class that stores an array of supported Instructions. This should just be an array of Instructions. The CPU should also be able to take in an instruction and run it using the inputted program memory.

Function Signatures

run_instruction(memory: Memory, instruction: ParsedInstruction) -> None: