I use the END statement for troubleshooting. Now I find I'm troubleshooting the END statement! The code below stops at the END statement when compiled using PBP, but the END statement is ignored when compiled by MPASM.
@ device pic12f683, INTRC_OSC_NOCLKOUT, WDT_OFF, MCLR_OFF, PROTECT_OFF
OPTION_REG = %11000000
OSCCON = %01100001
TRISIO = %001100
CMCON0 = %00000111
ANSEL = 0
CCP1CON = 0
high GPIO.0
high GPIO.1
high GPIO.4
HIGH GPIO.5
end
Main:
high GPIO.5
pause 1000
low GPIO.5
pause 1000
goto Main
I use PBP v2.50 and MPASM v5.14. Do I have something set wrong?