instruction decoding
This commit is contained in:
@@ -17,6 +17,7 @@ typedef struct {
|
||||
|
||||
// -- FUNCTIONS -- //
|
||||
Memory* initMemory(uint32_t size);
|
||||
void freeMemory(Memory* m);
|
||||
uint16_t memoryLoadWord(Memory* m, uint32_t address);
|
||||
void memorySaveWord(Memory* m, uint32_t address, uint16_t value);
|
||||
Instruction decodeInstruction(Memory* m, uint32_t pc);
|
||||
Instruction decodeInstruction(Memory* m, uint32_t* pc);
|
||||
Reference in New Issue
Block a user