mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-16 17:01:53 +00:00
[qfcc] Show raw opcode when dumping instructions
Allows checking the correct instruction has been selected (it's not: getting 4-component instructions instead of 1)
This commit is contained in:
parent
74d00d0a3c
commit
b2ddae46b2
1 changed files with 2 additions and 1 deletions
|
@ -361,5 +361,6 @@ opcode_print_statement (pr_uint_t addr, dstatement_t *st)
|
|||
} else {
|
||||
mnemonic = pr_opcodes[st->op].mnemonic;
|
||||
}
|
||||
printf ("%04x %8s %04x %04x %04x\n", addr, mnemonic, st->a, st->b, st->c);
|
||||
printf ("%04x (%03x)%-8s %04x %04x %04x\n",
|
||||
addr, st->op & 0x1ff, mnemonic, st->a, st->b, st->c);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue