RETP |
|
| 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 |
| Opcode: | |
| Details: | SX Users Manual page # 116 |
| Microchip PIC syntax: | |
| Notes: | |
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:
See:
| file: /techref/scenix/inst/retp.htm, 2KB, , updated: 2001/7/26 22:54, local time: 2009/11/20 21:55,
38.107.191.101:LOG IN
|
| ©2009 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! <A HREF="http://www.piclist.com/techref/scenix/inst/retp.htm"> SX Embedded Controller Instruction - RETP</A> |
| Did you find what you needed? |
|
|
Ubicom SX18 thru SX52, PIC 16c5X compatibile, 50 to 75 MIPS microcontrollers! Now US customers can buy the Excellent SXDev from SXList.com for $150 + $15 import fee + s&h (~ $180 total+tax in CA) |
.