please dont rip this site

SX Embedded Controller Instruction


Description: Return from call, affect PA2 : PA0
Operation: PC = STACK[SP--]; page = PC >> 9
Flags affected: PA0..2
Registers affected: PC
Sources referenced: -
Cycles: 1
Details: SX Users Manual page # 116
Microchip PIC syntax:

Same as RET but the return address bits 11, 10 & 9 (on the stack) are written to the page-select bits PA2, PA1 & PA0 in the STATUS register. Thus the page-select bits are properly set to the page being returned to.

See also:


file: /Techref/scenix/inst/retp.htm, 2KB, , updated: 2001/7/26 23:54, local time: 2024/7/16 06:19,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> SX Embedded Controller Instruction - RETP</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!