summaryrefslogtreecommitdiff
path: root/sux.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-01-18 09:04:24 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2022-01-18 09:04:24 -0400
commit21c83c9fbdf361105dfb79aa35af0cbb107de905 (patch)
tree558e309dbf1623bdd59eb99b2f2ed86a9afefefb /sux.h
parent000b49deb09fdc275f5aae27c086bc09a3af0d5e (diff)
Remove `pbits` from instruction handler.
Diffstat (limited to 'sux.h')
-rw-r--r--sux.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sux.h b/sux.h
index c626bc9..3d2b4d3 100644
--- a/sux.h
+++ b/sux.h
@@ -1796,7 +1796,6 @@ static /*inline*/ void inst_##op(struct sux *cpu, uint8_t prefix, uint8_t size,
uint64_t addr = 0, idx = 0, tmp = 0, tmp2 = 0; \
uint64_t dummy = 0, *reg = &dummy; \
int pre_idx = 0, mem_type = ZM; \
- uint8_t pbits = 0x##op < 0x100 ? 0x10 : 0; \
/* Decode Address. */ \
t(1, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000) { addr = 0xFFA0; } /* NMI Vector. */ \
t(2, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000) { addr = 0xFFC0; } /* Reset Vector. */ \