Simulating...

Opening Files

To open an Assembler - File just click on or use the Menu under File->Open.

After choosing an ASM - File click "OK" and the file gets loaded and is displayed in the ASM View.

 

Compiling Files

After loading  you can compile the file by clicking on  .

 

The Clock

To set the clock you have to open the Settings - Dialogue.

 

Simulating

You have different possibilities to simulate your ASM - Code:

 

The Automatic Mode

To start the Automatic Mode just click on .

The Simulation starts and works over all commands until the end of program is reached.

The speed is dependent of the clock you specified.

 

The Single Step Mode

To start Single Step Mode just click on .

The Simulator executes a command and waits for the user to click again on .

So you can run your program command by command.

 

The Super Single Step Mode

To start the Super Single Step Mode just click on .

This Mode is similar to Single Step, but it divides each command into smaller steps.

So a command is divided into

After each Super Single Step you have to click again on .

 

Breakpoints

Another way to test yout program is setting breakpoints.

To set a breakpoint just click at the left side of the wanted line, or select it and hit the key "F9".

Breakpoint are marked with a little red bar at the left side of the line.

 

 

After setting a breakpoint click on and the simulation stops at the line where the breakpoint is set and waits for your input.

 

 

Stopping Simulation

To stop simulation just click on and the simulation is stopped.

The behaviour of the Application when clicking the Stop - Button can be defined in the Settings - Dialogue.

 

 

Note

You are always free to change between the different Simulation Modes.

For example if you are in Single Step, just click on Automatic and the program is continued in Automatic Mode.

You can switch from each mode to the other.