using %i for instruction opcode output is a little more consistent with the above data, so you can quickly spot if an operand is a local or something else

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-22 18:27:49 +02:00
parent ab714862d6
commit defb0fb6c4

2
code.c
View file

@ -261,7 +261,7 @@ bool code_write(const char *filename) {
util_debug("GEN", " CODE:\n");
for (;;) {
if (code_statements_data[j].opcode != AINSTR_END)
util_debug("GEN", " %s {0x%05x,0x%05x,0x%05x}\n",
util_debug("GEN", " %-12s {% 5i,% 5i,% 5i}\n",
asm_instr[code_statements_data[j].opcode].m,
code_statements_data[j].o1.s1,
code_statements_data[j].o2.s1,