|
|
| version 1.23, 2012/02/05 02:17:33 | version 1.25, 2012/06/18 14:11:56 |
|---|---|
| Line 32 | Line 32 |
| #endif | #endif |
| /* | |
| * register strings | |
| */ | |
| const char *reg8_str[CPU_REG_NUM] = { | |
| "al", "cl", "dl", "bl", "ah", "ch", "dh", "bh" | |
| }; | |
| const char *reg16_str[CPU_REG_NUM] = { | |
| "ax", "cx", "dx", "bx", "sp", "bp", "si", "di" | |
| }; | |
| const char *reg32_str[CPU_REG_NUM] = { | |
| "eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi" | |
| }; | |
| const char *sreg_str[CPU_SEGREG_NUM] = { | |
| "es", "cs", "ss", "ds", "fs", "gs" | |
| }; | |
| char * | char * |
| cpu_reg2str(void) | cpu_reg2str(void) |
| { | { |
| Line 122 void | Line 142 void |
| memory_dump(int idx, UINT32 madr) | memory_dump(int idx, UINT32 madr) |
| { | { |
| UINT32 addr; | UINT32 addr; |
| size_t size; | UINT32 size; |
| size_t s, i; | UINT32 s, i; |
| UINT8 buf[16]; | UINT8 buf[16]; |
| UINT8 c; | UINT8 c; |