Using the 1802 State Panel

The 1802 State panel lets you peek under the hood and see what's going on inside the simulated 1802 microprocessor, and to single-step through a program to watch the effect of instructions executing one by one.

1802 State menu screenshot.

To bring up the 1802 State panel, select the 1802 State command on TinyELF's Debug menu.

1802 State panel screenshot.

As you can see in the image above, the 1802 has quite a few internal registers, inputs, and outputs. The panel is broken up into four basic areas:

Click the Step button to execute a program one instruction at a time. Click Run in the 1802 State panel to continue running the program at normal speed.