Table of Contents        Previous topic       Next topic       

Disassembly Memory and Registers->Disassembly Window

The disassembly window is automatically opened when a program file that does not contain any source line numbers is loaded.  Otherwise it can be opened by selecting Disassembly from the Window menu.  It shows a disassembly of the program.  

If the file is in IEEE695 format and contains debug records such as symbol information, then this information will be used where appropriate to create a symbolic disassembly.

If the file contains source file and line number information and the source files are available, the lines from the source file will be mixed with the disassembled instructions.

When the disassembly window is open, the simulator is in disassembly mode and all step into, step over and trace commands operate at the assembler instruction level.  The simulator remains in this mode even if the disassembly window is hidden behind other windows or is minimised.  Therefore to return to source level mode, you must close the disassembly window.

The portion of the program displayed in the window depends upon the status of the simulator.

When the simulator is not running, the user can scroll through the window using the scroll key and scroll bars examining the listing and setting breakpoints with the set breakpoint at cursor command.

If the simulator is running in trace mode, the disassembly window will be automatically updated after each instruction is simulated to show the next line of the program to be executed.

When the simulator is running in any other mode, the user can scroll through the window but when the simulation halts, the disassembly window will be updated to show the next line of the program to be executed.

Only one disassembly window can be open.  The window is however a splitter window and so it can be divided into two halves by using the mouse to drag the splitter tool downwards.  The splitter tool is a small rectangle initially located at the top of the vertical scroll bar.

The location and size of the disassembly window is saved in the program status file when the program is closed and so it will be restored to the same location and size when the same program is next opened.