MOV W,fr |
|
Description: | Move fr into W |
Operation: | W = fr |
Flags affected: | Z |
Registers affected: | W |
Sources referenced: | fr |
Cycles: | 1 |
Opcode: | |
Details: | SX Users Manual page # 95 |
Microchip PIC syntax: | MOVF fr,0 |
Notes: |
Phil Pilgrim says: Incidentally, the way to move a register to W without setting any flags is:
SWAP Reg MOV W,<>Reg SWAP Reg 'Optional, to restore Reg to original state.
or, if RTW is enabled:
MOV W,<>Reg SWAP WREG