mirror of
https://github.com/tuz358/cpu-emulator.git
synced 2025-12-18 21:14:35 +03:00
Add func: read_uint8(uint32_t addr)
This commit is contained in:
@@ -8,10 +8,14 @@
|
||||
|
||||
class Emulator{
|
||||
public:
|
||||
Instructions instructions;
|
||||
Memory memory;
|
||||
|
||||
void init(size_t memorysize, FILE *bin);
|
||||
void free();
|
||||
void exec(uint8_t opcode);
|
||||
void dump_registers();
|
||||
uint8_t read_next_opcode();
|
||||
uint8_t read_uint8(uint32_t addr);
|
||||
uint32_t get_eip();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user