diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2022-01-14 13:21:32 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2022-01-14 13:21:32 -0400 |
commit | 9e57979c8684c42bff522cc87ff27005bfb8318c (patch) | |
tree | a219f33824b797ffd9ff928aa79957252e86e813 | |
parent | 4512575eb0dcc4a844a134d0c51a651b492c8f3b (diff) |
Add bitmask for absolute addressing.
-rw-r--r-- | sux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |