MOV fr,W |
|
Description: | Move W into fr |
Operation: | fr = W |
Flags affected: | none |
Registers affected: | fr |
Sources referenced: | W |
Cycles: | 1 |
Opcode: | |
Details: | SX Users Manual page # 89 |
Microchip PIC syntax: | MOVWF fr |
Notes: |
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 00:00, local time: 2024/11/26 00:55,
18.188.68.115: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/movefrw.htm"> SX Embedded Controller Instruction - MOV fr,W</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.