ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon_cmd.cpp
(Generate patch)

Comparing mon/src/mon_cmd.cpp (file contents):
Revision 1.7 by cebix, 2000-09-25T12:44:34Z vs.
Revision 1.8 by cebix, 2000-10-06T00:04:22Z

# Line 305 | Line 305 | enum CPUType {
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)
# Line 352 | Line 353 | 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          }
# Line 383 | Line 391 | void disassemble_8080(void)
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines