PDA

View Full Version : Darryl Taylor's Interrupt Example 1



tazntex
- 30th June 2010, 16:24
I am using Pic Basic pro ver.2.50 and I just tried to compile Darryl's DT_INTS-14 (Hello World). The processor selected is 16F628A and I have reinstalled DT's interrupts. In the results window after trying to compile this is shown:

Error DELETE~1.ASM 726:[224] local directive only for use in macros
Error DELETE~1.ASM 726:[225] undefined symbole 'iflagreg'
Error DELETE~1.ASM 726:[226] numeric constant or symbol name expected
Error DELETE~1.ASM 726:[201] 'expected
Error DELETE~1.ASM 726:[300]too many errors

Any suggestions? Thanks

ScaleRobotics
- 30th June 2010, 16:59
You must assemble with Mpasm, not PM. Check out the big red warning label that comes with each box.....

http://www.picbasic.co.uk/forum/attachment.php?attachmentid=4582&d=1277913693

tazntex
- 30th June 2010, 17:24
Thank you so much for the quick reply, you just reminded me I have to use MPASM I was just in Microcode studio and had not selected it, thats the trick. The way this computer was acting I thought it was still Monday , but now I realize its Wednesday, lol well, almost the weekend:) Thanks again for the help