From 96393257a43ac52f2b911594d106741245dec5f0 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Fri, 4 Dec 2020 15:20:28 -0500 Subject: - Started work on writing the new version of the assembler. - Did alot of stuff in the emulator. - Did alot of stuff in the SuB Suite. --- assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assemble.c') diff --git a/assemble.c b/assemble.c index 297be87..27da287 100644 --- a/assemble.c +++ b/assemble.c @@ -426,7 +426,7 @@ uint64_t handle_opcode(token *t, bytecount *bc, uint8_t isasm, uint64_t address, case 1: opcode = (id == TOK_EXTOP) ? opcode+0x01 : eind_base_ops[get_eind(instr, dbg)]; break; } } - opcode = (am & AM_BREG) ? opcode+0x14 : opcode; + opcode = ((am & AM_BREG) && type == BREG) ? opcode+0x14 : opcode; } break; case REL: -- cgit v1.2.3-13-gbd6f