How to read the screen
- PC is the address of the next instruction to run. The program starts at 0x00000000 and each instruction takes 4 bytes, so the line marked with ▶ sits at address PC.
- Each register shows its value as a signed decimal and in hexadecimal. The one that changed in the last step is highlighted.
- “Step” runs one instruction; “Run” continues to the end (or up to 10,000 instructions, to stop infinite loops). Editing the code resets the state.
- The label table shows the address of each label: it is the target of the branches.