diff options
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ #define keypoll 0 #define OPNUM 74 +#define EXT_OPNUM 49 #define C (1 << 0) /* Carry flag. */ #define Z (1 << 1) /* Zero flag. */ @@ -55,10 +56,10 @@ union reg { struct sux { union reg ps; /* The processor status register. */ uint64_t a, b, y, x; /* Registers A, B, X, and Y. */ + uint64_t e; /* Effective address register. */ uint64_t pc; /* Program counter. */ uint64_t sp; /* Stack pointer. */ uint64_t clk; /* Number of clock cycles. */ - uint8_t crt; /* Current running threads. */ }; extern int asmmon(); |