|
|
| version 1.10, 2011/01/15 17:17:23 | version 1.11, 2011/01/15 17:33:32 |
|---|---|
| Line 637 ea(disasm_context_t *ctx) | Line 637 ea(disasm_context_t *ctx) |
| * get opcode | * get opcode |
| */ | */ |
| static int | static int |
| op(disasm_context_t *ctx) | get_opcode(disasm_context_t *ctx) |
| { | { |
| const char *opcode; | const char *opcode; |
| UINT8 op[3]; | UINT8 op[3]; |
| Line 800 disasm(UINT32 *eip, disasm_context_t *ct | Line 800 disasm(UINT32 *eip, disasm_context_t *ct |
| ctx->baseaddr = ctx->eip; | ctx->baseaddr = ctx->eip; |
| ctx->pad = ' '; | ctx->pad = ' '; |
| rv = op(ctx); | rv = get_opcode(ctx); |
| if (rv) { | if (rv) { |
| memset(ctx, 0, sizeof(disasm_context_t)); | memset(ctx, 0, sizeof(disasm_context_t)); |
| return rv; | return rv; |