Open dogamak opened 4 years ago
Moving intruction parsing from Memory to Emulator allows us to create an error type like ExecutionError, which could include variants InvalidInstruction and MemoryError. This would also simplify the Memory interface.
Memory
Emulator
ExecutionError
InvalidInstruction
MemoryError
Moving intruction parsing from
Memory
toEmulator
allows us to create an error type likeExecutionError
, which could include variantsInvalidInstruction
andMemoryError
. This would also simplify theMemory
interface.