Hi all,
I'm trying some assembly code for the PIC18F1320. I've always used C but the new job has some projects in assembly code for the cheap PICs (PIC12F508 and
509) and I'm required to be able to modify them. YEACH!. So ... I have some of these PICs and I'm playing with the stuff. Anyhow ... I'm using the ICD2 and MPLAB 7.4 to write the assy code. It compiles with no errors or warnings. I'm using the debugger to watch the port pins (PortA and PortB pins 0) toggle but no luck. Here is the code:movlw 0x70 ;Internal Oscillator, 31kHz movwf OSCCON ;
movlw 0 ;set portA for output