Searching \ for 'A little quirk in MPASM for 12C5xx' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/language/index.htm?key=asm
Search entire site for: 'A little quirk in MPASM for 12C5xx'.

Truncated match.
PICList Thread
'A little quirk in MPASM for 12C5xx'
1997\11\08@230337 by myke predko

flavicon
face
Hi Folks,

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.

myke

Check out "Programming and Customizing the PIC Microcontroller" at:

http://www.myke.com

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...