From 8d9190cb14f287193196f422d49dbca0809980c7 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 9 Feb 2022 13:45:26 -0400 Subject: sux.{c,h}, opcode.h, disasm.c: Add code to use the new instruction handler for reading the interrupt vectors. --- opcode.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'opcode.h') diff --git a/opcode.h b/opcode.h index 5f952b3..e5fde3d 100644 --- a/opcode.h +++ b/opcode.h @@ -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; -- cgit v1.2.3-13-gbd6f