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

GPIO Simulation

PIC16F84A PDIP-18 18 RA1 17 RA0 16 OSC1 15 OSC2 14 VDD 13 RB7 12 RB6 11 RB5 10 RB4 RA2 1 RA3 2 RA4 3 MCLR 4 VSS 5 RB0 6 RB1 7 RB2 8 RB3 9
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

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

LED Array

All LEDs connected to PORTB
Pin assignments

Switch Array

All switches connected to PORTA
Pin assignments

16x2 LCD Display

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

Flag Table

Stack Viewer

Memory Viewer

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

USART

TXIF: 0
RCIF: 0
USART Terminal

Timer1

TMR1IF: 0
TMR1ON: 0

Timer2

TMR2IF: 0
TMR2ON: 0

CCP1

CCP1IF: 0
Mode: Disabled

Comparators

C1OUT: 0
C2OUT: 0

Logic Analyzer

Channels

Recording

Display

1.0x
Ready 0 samples 0 μs
Cursor 1: 0 μs
Cursor 2: 0 μs
ΔT: 0 μs