305 |
|
CPU_6502, |
306 |
|
CPU_680x0, |
307 |
|
CPU_8080, |
308 |
< |
CPU_80x86 |
308 |
> |
CPU_80x86_32, |
309 |
> |
CPU_80x86_16 |
310 |
|
}; |
311 |
|
|
312 |
|
static void disassemble(CPUType type) |
353 |
|
} |
354 |
|
break; |
355 |
|
|
356 |
< |
case CPU_80x86: |
356 |
> |
case CPU_80x86_32: |
357 |
|
while (adr <= end_adr && !mon_aborted()) { |
358 |
|
fprintf(monout, "%08x: ", mon_use_real_mem ? adr : adr % mon_mem_size); |
359 |
< |
adr += disass_x86(monout, mon_use_real_mem ? adr : adr % mon_mem_size); |
359 |
> |
adr += disass_x86(monout, mon_use_real_mem ? adr : adr % mon_mem_size, false); |
360 |
> |
} |
361 |
> |
break; |
362 |
> |
|
363 |
> |
case CPU_80x86_16: |
364 |
> |
while (adr <= end_adr && !mon_aborted()) { |
365 |
> |
fprintf(monout, "%08x: ", mon_use_real_mem ? adr : adr % mon_mem_size); |
366 |
> |
adr += disass_x86(monout, mon_use_real_mem ? adr : adr % mon_mem_size, true); |
367 |
|
} |
368 |
|
break; |
369 |
|
} |
391 |
|
disassemble(CPU_8080); |
392 |
|
} |
393 |
|
|
394 |
< |
void disassemble_80x86(void) |
394 |
> |
void disassemble_80x86_32(void) |
395 |
> |
{ |
396 |
> |
disassemble(CPU_80x86_32); |
397 |
> |
} |
398 |
> |
|
399 |
> |
void disassemble_80x86_16(void) |
400 |
|
{ |
401 |
< |
disassemble(CPU_80x86); |
401 |
> |
disassemble(CPU_80x86_16); |
402 |
|
} |
403 |
|
|
404 |
|
|