RFPIC12C509AG Microchip Technology Inc., RFPIC12C509AG Datasheet - Page 66

no-image

RFPIC12C509AG

Manufacturer Part Number
RFPIC12C509AG
Description
18/20-pin 8-bit Cmos Microcontroller With Uhf Ask/fsk Transmitter
Manufacturer
Microchip Technology Inc.
Datasheet
Operands:
Operation:
Status Affected: Z
Encoding:
Operands:
Operation:
Status Affected: None
Encoding:
rfPIC12C509AG/509AF
MOVF
Syntax:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Description:
Words:
Cycles:
Example:
DS70031A-page 64
After Instruction
After Instruction
W
W
=
=
Move f
[ label ]
0
d
(f)
The contents of register 'f' is moved to
destination 'd'. If 'd' is 0, destination is
the W register. If 'd' is 1, the destination
is file register 'f'. 'd' is 1 is useful to test
a file register since status flag Z is
affected.
1
1
MOVF
value in FSR register
Move Literal to W
[ label ]
0
k
The eight bit literal 'k' is loaded into the
W register. The don’t cares will assem-
ble as 0s.
1
1
MOVLW
0x5A
0010
1100
f
k
[0,1]
(W)
(dest)
31
255
FSR,
0x5A
MOVF f,d
MOVLW k
00df
kkkk
0
ffff
kkkk
Preliminary
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
TEMP_REG
W
TEMP_REG
W
Move W to f
[ label ]
0
(W)
None
Move data from the W register to regis-
ter 'f'
1
1
MOVWF
No Operation
[ label ]
None
No operation
None
No operation.
1
1
NOP
0000
0000
f
.
=
=
=
=
©
31
(f)
2001 Microchip Technology Inc.
TEMP_REG
0xFF
0x4F
0x4F
0x4F
MOVWF
NOP
001f
0000
ffff
0000
f

Related parts for RFPIC12C509AG