image

Main Window Elements

The main application window (picture below) contains a toolbar a code editor view, a register view, a clock cycle view and a status bit view.

image

Toolbar

The toolbar has two button groups: utility buttons and debugging buttons. It also contains a status bar that provides information regarding the emulator state.

Utility Buttons

Utility Buttons Screenshot

These buttons provide access to file management functions, the Settings panel, and a toolbox. The functions are as follows:

Button Action Shortcut
New Create new file Shortcut+N
Open Open an existing file Shortcut+O
Save Save changes Shortcut+S
Settings Open settings panel Shortcut+,
Tools > Auto-indent code Automatically re-indents typed code Shortcut+Alt+I
Tools > View memory contents Opens a window showing the memory contents Shortcut+Alt+C
Tools > View symbols Opens a window showing all defined symbols Shortcut+Alt+Y

Shortcut is Ctrl for Windows and Linux, and Cmd for Mac OS X.

Debugging Buttons

Debugging Buttons Screenshot

These buttons provide access to the debugging functionality of the application. A summary of these functions is given below. For full details, see the Debugging Guide.

Button Action Shortcut
Execute Run to breakpoint or end of file F5
Reset Reset emulator F6
Step Backwards Step back one line F7
Step Forwards Step forwards one line F8

Status Bar

The status bar provides useful information regarding the state of the emulator. It consists of a status message, a line number and the number of issues. Examples of all possible states are as follows:

State Example Description
Off Status Bar Off Emulation disabled
Analysing Status Bar Analysing Code is being prepared for emulation
Running Status Bar Running Emulation is in progress
Resetting Status Bar Resetting Emulator is being reset
Browsing Status Bar Off Browsing history using Step Backwards
or register history browsing.
Complete Status Bar Off Emulation has completed successfully
Breakpoint Status Bar Off Emulation is paused due to a breakpoint
Syntax Error Status Bar Off Emulation aborted due to syntax error(s)
Runtime Error Status Bar Off Emulation aborted due to a runtime error

Code Editor

The code editor provides syntax highlighting for ARM Assembly programs. Breakpoints can be added by clicking a line number. Line numbers are highlighted based on their execution status. Visualisation buttons are shown in-line with code as an overlay on the code editor.

Themes

A choice of two themes is available from the Settings panel. The default is a Dark theme, but a Light theme is also available.

Dark Theme Screenshot Light Theme Screenshot

Find and Replace

Find and Replace Screenshot

Find and replace functionality is available and can be activated by Shortcut+F, where Shortcut is Ctrl on Windows and Linux and Cmd on Mac OS X.

Register View

Register View

The register view element contains a list of register values, a clock cycle view, and a status bar view.

Register values

Individual register values for registers R0-R15 are displayed. Clicking on the buttons Dec, Bin, Hex changes the display format for individual register values. The format can be changed universally using the Settings panel. If a register value is changed by the current instruction, it will be highlighted yellow.

Clock cycle view

This is under the register view and displays the clock cycles for the current instruction as well as the total number of clock cycles since emulation started.

Status Bit View

This displays the 4 CSPR condition flag status bits N (negative), Z (zero), C (carry) and V (signed overflow). Individual bits are highlighted upon conditional and when changed.