Microchip Technology PIC16C62B/72A Manual page 72

28-pin 8-bit cmos microcontrollers
Table of Contents

Advertisement

PIC16C62B/72A
IORLW
Inclusive OR Literal with W
Syntax:
[ label ]
0  k  255
Operands:
(W) .OR. k  (W)
Operation:
Status Affected:
Z
Description:
The contents of the W register is
OR'ed with the eight bit literal 'k'. The
result is placed in the W register
IORWF
Inclusive OR W with f
Syntax:
[ label ]
0  f  127
Operands:
d  [0,1]
(W) .OR. (f)  (destination)
Operation:
Status Affected:
Z
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'.
MOVF
Move f
Syntax:
[ label ]
0  f  127
Operands:
d  [0,1]
(f)  (destination)
Operation:
Status Affected:
Z
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.
DS35008C-page 72
IORLW k
.
IORWF
f,d
MOVF f,d
Preliminary
MOVLW
Move Literal to W
Syntax:
[ label ]
0  k  255
Operands:
k  (W)
Operation:
Status Affected:
None
Description:
The eight bit literal 'k' is loaded into W
.
register
The don't cares will assem-
ble as 0's.
MOVWF
Move W to f
Syntax:
[ label ]
0  f  127
Operands:
(W)  (f)
Operation:
Status Affected:
None
Description:
Move data from W register to register
.
'f'
NOP
No Operation
Syntax:
[ label ]
Operands:
None
Operation:
No operation
Status Affected:
None
Description:
No operation.
 1998-2013 Microchip Technology Inc.
MOVLW k
MOVWF
f
NOP

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC16C62B/72A and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents