Updated machine struct to simulate 64bit registers
This commit is contained in:
parent
7224903ea6
commit
9af558a831
@ -8,7 +8,7 @@
|
||||
************************************/
|
||||
|
||||
#define BYTE_BITS 8
|
||||
#define WORD_BITS 32
|
||||
#define WORD_BITS (BYTE_BITS * sizeof(word))
|
||||
|
||||
/************************************
|
||||
* STRUCTS
|
||||
@ -22,8 +22,8 @@ typedef struct {
|
||||
} PState;
|
||||
|
||||
typedef struct {
|
||||
word registers[REGISTER_COUNT];
|
||||
word pc;
|
||||
dword registers[REGISTER_COUNT];
|
||||
dword pc;
|
||||
byte *memory;
|
||||
PState conditionCodes;
|
||||
} Machine;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user