Using SoftBench Debugger
Viewing Assembly Language and CPU RegistersViewing Assembly Language and CPU Registers
SoftBench Debugger is intended as a
You can examine the machine code produced by the compiler for your program and step your program at the assembly code level. You can examine processor and floating point registers and see how these change.
Tracing Assembly LanguageThe "Show: Assembly Instructions…" menu choice brings up the
"Assembly Instructions" window. (See Figure
•Source line number
•Memory address
•Disassembly listing of the actual machine code To set a breakpoint at the assembly level:
1.Select the address (in the "Assembly Instructions" window). This copies the address into the "()" input box.
2.Choose "Break: Set At Hex Address ( )".
You can also click the left mouse button in the Annotation Margin of the "Assembly Instructions" window, or press the right mouse button on the desired assembly line, to set or clear breakpoints.
Chapter 7 | 211 |