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: 2024/12/29 10:21,
18.117.184.125:LOG IN
|
©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? <A HREF="http://techref.massmind.org/Techref/scenix/inst/retp.htm"> SX Embedded Controller Instruction - RETP</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.