|Description:||Move W into fr|
|Operation:||fr = W|
|Details:||SX Users Manual page # 89|
|Microchip PIC syntax:||MOVWF fr|
If fr is 2 (the program counter) on the SX 18 and 28, no carry of the addition from bit 7 to bit 8 is performed. This means that computed jumps are restricted to the half page of 256 instructions from which the jump originates. Also, as far as I can tell, despite this not being documented anywhere, moving an 8 bit value to the PC results in CLEARING the 9th bit (bit 8) of the PC. So you can only do computed jumps intp the first half page of each page. Just like calls
|file: /Techref/scenix/inst/movefrw.htm, 2KB, , updated: 2001/8/8 01:00, local time: 2023/6/2 12:12,
|©2023 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://www.massmind.org/techref/scenix/inst/movefrw.htm"> SX Embedded Controller Instruction - MOV fr,W</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!