'A little quirk in MPASM for 12C5xx'
I just wanted to update you on something I've found as I've been debugging a
12C508 application I'm working on with MPASM.
The instruction "return" does NOT return an error/warning/message but puts
in the code for "retlw 0". This won't be a problem unless you are trying to
return a value in "w" (as I was).
So, this is something to watch out for when doing 12C5xx (and 16C5x?)
applications if data doesn't seem to be returned properly from a subroutine.
Check out "Programming and Customizing the PIC Microcontroller" at:
More... (looser matching)
- Last day of these posts
- In 1997
, 1998 only
- New search...