Mercurial > hg-old > index.cgi
comparison lwasm/debug.c @ 382:eacdae8a1575
Various bugfixes
author | lost@starbug |
---|---|
date | Sat, 15 May 2010 13:39:21 -0600 |
parents | 90de73ba0cac |
children |
comparison
equal
deleted
inserted
replaced
381:1624a36f12a3 | 382:eacdae8a1575 |
---|---|
45 | 45 |
46 for (cl = as -> line_head; cl; cl = cl -> next) | 46 for (cl = as -> line_head; cl; cl = cl -> next) |
47 { | 47 { |
48 debug_message(as, 100, "%p INSN %d (%s) LEN %d", cl, cl -> insn, (cl -> insn >= 0) ? instab[cl -> insn].opcode : "<none>", cl -> len); | 48 debug_message(as, 100, "%p INSN %d (%s) LEN %d", cl, cl -> insn, (cl -> insn >= 0) ? instab[cl -> insn].opcode : "<none>", cl -> len); |
49 debug_message(as, 100, " ADDR: %s", lw_expr_print(cl -> addr)); | 49 debug_message(as, 100, " ADDR: %s", lw_expr_print(cl -> addr)); |
50 | 50 debug_message(as, 100, " PB: %02X; LINT: %X; LINT2: %X", cl -> pb, cl -> lint, cl -> lint2); |
51 for (le = cl -> exprs; le; le = le -> next) | 51 for (le = cl -> exprs; le; le = le -> next) |
52 { | 52 { |
53 debug_message(as, 100, " EXPR %d: %s", le -> id, lw_expr_print(le -> expr)); | 53 debug_message(as, 100, " EXPR %d: %s", le -> id, lw_expr_print(le -> expr)); |
54 } | 54 } |
55 if (cl -> outputl > 0) | 55 if (cl -> outputl > 0) |