gumnut_simulator.core¶
Module Contents¶
Classes¶
- class gumnut_simulator.core.GumnutCore¶
- reset(self)¶
Clear all registers, flags, and memory
- upload_instruction_memory(self, data)¶
Upload the instruction memory content as a list to the core
- upload_data_memory(self, data)¶
Upload the data memory content as a list to the core
- fetch(self)¶
Fetch the next instruction to execute from program memory
- execute(self, instruction)¶
Execute a single instruction
- update_PC(self)¶
Update the PC by adding 1
- step(self)¶
Perform a single step
- check_range(self, result)¶
Check the result of the current instruction and set flags
- check_data_memory_access(self, address)¶