Parent Directory | Revision Log | Patch
revision 1.2 by bellard, Sun May 11 12:25:45 2003 UTC | revision 1.3 by bellard, Sun May 25 16:42:20 2003 UTC | |
---|---|---|
# | Line 51 void disas(FILE *out, void *code, unsign | Line 51 void disas(FILE *out, void *code, unsign |
51 | ||
52 | for (pc = code; pc < (uint8_t *)code + size; pc += count) { | for (pc = code; pc < (uint8_t *)code + size; pc += count) { |
53 | fprintf(out, "0x%08lx: ", (long)pc); | fprintf(out, "0x%08lx: ", (long)pc); |
54 | count = print_insn((long)pc, &disasm_info); | count = print_insn((unsigned long)pc, &disasm_info); |
55 | fprintf(out, "\n"); | fprintf(out, "\n"); |
56 | if (count < 0) | if (count < 0) |
57 | break; | break; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |