PIC16HV540 Microchip Technology, PIC16HV540 Datasheet - Page 50

no-image

PIC16HV540

Manufacturer Part Number
PIC16HV540
Description
Enhanced PIC16C54 EPROM-Based 8-Bit CMOS Microcontroller
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV540-04/P
Manufacturer:
Microchip
Quantity:
1 736
Part Number:
PIC16HV540-04/SO
Manufacturer:
Microchip
Quantity:
485
Part Number:
PIC16HV540-04I/P
Manufacturer:
MICROCHIP
Quantity:
664
Part Number:
PIC16HV540-04I/SO
Manufacturer:
Maxim
Quantity:
41
Part Number:
PIC16HV540-20/P
Quantity:
5
PIC16HV540
MOVF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
MOVLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
DS40197B-page 50
After Instruction
After Instruction
W
W
=
=
Move f
[ label ]
0
d
(f)
0010
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
1100
The eight bit literal ’k’ is loaded into the
W register. The don’t cares will assem-
ble as 0s.
1
1
MOVLW
0x5A
f
k
[0,1]
(W)
(dest)
31
255
00df
FSR,
kkkk
0x5A
MOVF f,d
MOVLW k
ffff
0
kkkk
Preliminary
MOVWF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
TEMP_REG
W
TEMP_REG
W
Move W to f
[ label ]
0
(W)
0000
Move data from the W register to regis-
ter 'f'
1
1
MOVWF
No Operation
[ label ]
None
No operation
0000
No operation.
1
1
NOP
f
.
=
=
=
=
31
(f)
2000 Microchip Technology Inc.
001f
TEMP_REG
0xFF
0x4F
0x4F
0x4F
0000
MOVWF
NOP
ffff
0000
f

Related parts for PIC16HV540