From 21c83c9fbdf361105dfb79aa35af0cbb107de905 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 18 Jan 2022 09:04:24 -0400 Subject: Remove `pbits` from instruction handler. --- sux.h | 1 - 1 file changed, 1 deletion(-) 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. */ \ -- cgit v1.2.3-13-gbd6f