PDA

View Full Version : Undefined Symbol error when using ASM interrupt



toalan
- 11th January 2005, 18:20
Hi guys, I need to use an ASM based innterupt but I always get 'Undefined symbol 'myint'' when I use 'Define INTHAND myint'. I pasted in the exact example as in the picbasic pro manual and the only error i get is this one. Using the ON Interrupt is not an option for me bacause I need the speed. Any information would be greatly appreciated. Thanks

Regards,

Darrel Taylor
- 11th January 2005, 21:38
Hi toalan,

Make sure that the myint label is in the FIRST column of the line. There can't be any spaces before it.

Also, if you are using MPASM, make sure that the CASE matches in both the define INTHAND statement and the label.

HTH,
   Darrel

toalan
- 11th January 2005, 21:41
OMG, it worked. Thanks