PIC16C62B/72A
IORLW
Inclusive OR Literal with W
[ label ] IORLW k
0 ≤ k ≤ 255
MOVLW
Move Literal to W
[ label ] MOVLW k
0 ≤ k ≤ 255
Syntax:
Syntax:
Operands:
Operation:
Status Affected:
Description:
Operands:
Operation:
(W) .OR. k → (W)
Z
k → (W)
Status Affected: None
The contents of the W register is
OR’ed with the eight bit literal 'k'. The
result is placed in the W register.
The eight bit literal 'k' is loaded into W
register. The don’t cares will assem-
ble as 0’s.
Description:
IORWF
Inclusive OR W with f
[ label ] IORWF f,d
0 ≤ f ≤ 127
MOVWF
Syntax:
Move W to f
Syntax:
[ label ] MOVWF
0 ≤ f ≤ 127
f
Operands:
Operands:
Operation:
d
[0,1]
(W) → (f)
Operation:
(W) .OR. (f) → (destination)
Status Affected: None
Status Affected:
Description:
Z
Move data from W register to register
'f'.
Description:
Inclusive OR the W register with regis-
ter 'f'. If 'd' is 0, the result is placed in
the W register. If 'd' is 1, the result is
placed back in register 'f'.
NOP
No Operation
[ label ] NOP
None
MOVF
Move f
Syntax:
Syntax:
Operands:
[ label ] MOVF f,d
Operands:
Operation:
0 ≤ f ≤ 127
d
[0,1]
No operation
Operation:
(f) → (destination)
Status Affected: None
Status Affected:
Description:
Z
No operation.
Description:
The contents of register f is moved to
a destination dependant upon the sta-
tus of d. If d = 0, destination is W reg-
ister. If d = 1, the destination is file
register f itself. d = 1 is useful to test a
file register since status flag Z is
affected.
DS35008B-page 72
Preliminary
1999 Microchip Technology Inc.