ASM Editor

The ASM editor supports syntax coloring and code completion.

Editor Window



The toolbar on top shows all zones in the left combo box, and all symbols defined inside that zone in the right combo box. Chose an entry to jump to its definition.

To access code completion either type . or press Control-Space (default key configuration). This only triggers if there's an alphanumeric symbol to the left of the cursor.

Breakpoints are toggled by clicking in the margin to the left. The red circle in the screenshot shows a set breakpoint.

To find the value of a label hover the mouse over it (must have compiled successfully once). During debugging hovering also shows the value of the memory location.

On the right side a mini view of the whole file is shown. This allows faster scrolling, and can be toggled in the preferences or from the context menu.

After a succesful assembly this info appears in the left border:

  • The address of the line
  • The number of bytes used in the line
  • The number of cycles used in the line.
    Since the number of cycles is not always fixed, the first number shows the minimum count, and the right the potential additional cycle count.


  • Context Menu



    Right clicking anywhere in the source window shows a context menu. The context menu allows you to:


    Copy
    Copy the current selection to the clipboard


    Cut
    Copy the current selection to the clipboard and cut it from the source


    Paste
    Paste text from the clipboard at the current location


    Run to cursor
    Start debugging with the first break at the cursor location


    Add to Watch
    Add the variable under the cursor to the debug watch list


    Add Data Breakpoint
    Adds a data breakpoint which triggers only if a read and/or write is executed on the symbols address (either the symbol under the cursor or the current zone).


    Add Breakpoint
    Adds an execution breakpoint which triggers only the CPU executes the symbols address.


    Go to declaration
    Find the declaration of the symbol under the mouse


    Show runtime value
    Displays the runtime value of the symbol under the mouse


    Comment Selection
    Adds one comment marker to all lines of the current selection


    Uncomment Selection
    Removes one comment marker of all lines of the current selection