💡 Tip: Use Tab for indentation, Shift+Tab to unindent

GPIO Simulation

⋮⋮
PIC16F84A PDIP/SOIC RA2 1 RA3 2 RA4 3 MCLR 4 VSS 5 RB0 6 RB1 7 RB2 8 RB3 9 RB4 10 RB5 11 RB6 12 RB7 13 VDD 14 OSC2 15 OSC1 16 RA0 17 RA1 18
Click an input pin to toggle its state (HIGH/LOW). Pin modes are controlled by assembly code (TRIS registers). Gray pins are power/clock pins.

Breakpoints

⋮⋮
Breakpoints: 0
No breakpoints set

User Registers

⋮⋮
No custom registers defined

Interrupt Table

⋮⋮

Seven Segment Display

⋮⋮

PORTB Mapping:

RB0 → Segment A
RB1 → Segment B
RB2 → Segment C
RB3 → Segment D
RB4 → Segment E
RB5 → Segment F
RB6 → Segment G
RB7 → Decimal Point
0

LED Array

⋮⋮

LED Configuration:

All LEDs connected to PORTB

Switch Array

⋮⋮

Switch Configuration:

All switches connected to PORTA

16x2 LCD Display

⋮⋮

LCD Configuration:

Pin Mapping:
PORTB → Data Lines (D0-D7)
RA0 → Register Select (RS)
RA1 → Read/Write (R/W)
RA2 → Enable (E)
LCD Ready - PORTB: Data, RA0: RS, RA1: R/W, RA2: E

Flag Table

⋮⋮

Stack Viewer

⋮⋮

Memory Viewer

⋮⋮
RAM Memory (68 bytes)
Flash Memory (1,024 words)
Special Function Registers