summaryrefslogtreecommitdiff
path: root/disasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'disasm.c')
-rw-r--r--disasm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/disasm.c b/disasm.c
index bbd8d2b..8997baf 100644
--- a/disasm.c
+++ b/disasm.c
@@ -65,7 +65,10 @@ void disasm(struct sux *cpu, uint64_t *operands, uint8_t lines, uint8_t opcode,
}
switch (optype[opcode]) {
- case IMPL: wprintw(scr, "%s%s" , opname[opcode], postfix); break;
+ case BREG:
+ case IMPL:
+ wprintw(scr, "%s%s" , opname[opcode], postfix);
+ break;
case IMM:
switch ((1 << ((prefix >> 4) & 3))) {
case 1: wprintw(scr, "%s #$%02X" , op, value); break;