From 9e57979c8684c42bff522cc87ff27005bfb8318c Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Fri, 14 Jan 2022 13:21:32 -0400 Subject: Add bitmask for absolute addressing. --- sux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sux.h b/sux.h index fe70827..bec5bd6 100644 --- a/sux.h +++ b/sux.h @@ -1799,6 +1799,7 @@ static /*inline*/ void inst_##op(struct sux *cpu, uint8_t prefix, int inc_pc, in t(4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000) { addr = 0xFFE0; } /* IRQ Vector. */ \ t(0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000200, 0x00000000, 0x00000000, 0x00000000) { addr = 0xFFF0; } /* BRK Vector. */ \ t(0, 0x00400160, 0x00400160, 0x00000160, 0x00000160, 0x00001160, 0x10005161, 0x10005161, 0x00001160) { addr = read_addr(cpu, prefix, inc_clk, ZM, inc_pc) + idx; } /* Read Zero Matrix address. */ \ + t(0, 0x00060000, 0x00060000, 0x00160000, 0x00160000, 0x01160000, 0x01160000, 0x01170000, 0x01170000) { addr = read_addr(cpu, prefix, inc_clk, ABS, inc_pc); } /* Read Absolute address. */ \ } #undef ORTHO_1CC -- cgit v1.2.3-13-gbd6f