bcf TRISC, 6, 0 ; enable TXD output (RC6)
bcf TRISC, 5, 0 ; enable FCO output (RC5)
bcf TRISD, 4, 0 ; enable output D
- bcf TRISD, 3, 0 ; enable output E
loop
btg LATD, 2, 0 ; toggle per-pic led output
copybiti PORTB, 3, LATA, 0x08 ; A data
copybit PORTD, 7, TRISA, 0x08 ; A enable
copybiti PORTA, 6, LATD, 0x10 ; D
- copybiti PORTD, 0, LATD, 0x08 ; E
copybit PORTB, 4, LATC, 0x20 ; serial FC
copybit PORTC, 7, LATC, 0x40 ; serial data
; 6 x copybit @6 = 24cy