SIM51 Web
THE 8051 WORKSPACEDebugger workspace
Inspect the machine one moment at a time.
Address breakpoints
Break before the instruction at a hexadecimal CODE address, even for HEX without source.
No address breakpoints.
Screen update frequency
Updates the display after N executed instructions. Does not change the CPU clock, machine cycles or peripheral timing.
Current display cadence: 1 instructions
Only editable source, line breakpoints and view preferences are saved on this device.
Intel HEX program I/O
Imported HEX is machine code, not assembly source. Import replaces the loaded program only after validation and never runs it automatically.
Editable source is not the loaded machine program
Source editor
Virtual board
Digits retain their last sample on each P0.7 low-to-high gate edge. Browser frame rate does not advance the display.
Hold a key through the CPU scan. # clears the course entry; * is a spare key.
Hold to pull P3.2 low. Release for the normal P3 pull-up. The CPU program controls interrupt enable and service.
Switches · P2.0–P2.3
Toggle to pull a pin low. Off releases the drive to the P2 pull-up.
LEDs · P1.0–P1.7
Read-only resolved P1 pins, active low. LEDs do not drive the CPU or display.
T0 · P3.4
Hold to drive P3.4 low, release to high impedance. Only executed CPU instructions and core timer logic may count edges. P3.4 also senses display digit selection.
Connecting to local worker…
Serial terminal
EdSim text sends a trailing 0Dh (CR); a HEX list such as {56, 3a, e7} sends exactly those bytes without CR. Prefix a brace list with a backslash to send it as literal text. Enter sends EdSim-formatted bytes; raw ASCII remains available for existing course exercises.
Printable ASCII (20h–7Eh). EdSim text sends one trailing 0Dh.
Next host bytes (text): 0D
EdSim host baud and parity are applied after Worker acknowledgement. Host TX drives the external UART wire, MCU RXD/TXD remain fixed at P3.0/P3.1, and received bytes appear only after physical decoding. Changing host framing resets in-flight host frames. Course mode retains its legacy direct-byte compatibility path.
No completed TX frames yet.
Registers
Timer 0
Port monitor
128 bytes of internal data RAM. Addresses and bytes are hexadecimal.
No data for this memory range yet.
Request a byte edit
Write IRAM, SFR latch storage, or CODE. CODE edits may differ from source.