diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-02-09 13:45:26 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-02-09 13:45:26 -0400 |
commit | 8d9190cb14f287193196f422d49dbca0809980c7 (patch) | |
tree | fd7224d362d1c80fd6b1fe9d2fab7ad397e1325f /opcode.h | |
parent | b9fdf56717af2a9e7c9224610082bb026c86a87e (diff) |
sux.{c,h}, opcode.h, disasm.c: Add code to use the new
instruction handler for reading the interrupt vectors.
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -64,6 +64,9 @@ struct sux { uint64_t bp; /* Base pointer. */ uint64_t r11, r12, r13, r14, r15; /* Registers R11-R15. */; uint64_t clk; /* Number of clock cycles. */ + int nmi : 1; /* NMI flag. */ + int reset : 1; /* Reset flag. */ + int irq : 1; /* IRQ flag. */ }; typedef struct op operand; |