PIC16C745/P Microchip Technology, PIC16C745/P Datasheet - Page 114

no-image

PIC16C745/P

Manufacturer Part Number
PIC16C745/P
Description
8-Bit CMOS Microcontrollers with USB
Manufacturer
Microchip Technology
Datasheet
PIC16C745/765
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Description:
DS41124A-page 114
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
Z
Inclusive OR the W register with
register ’f’. If ’d’ is 0 the result is
placed in the W register. If ’d’ is 1
the result is placed back in regis-
ter ’f’.
Move f
[ label ]
0
d
(f)
Z
The contents of register f are
moved to a destination dependant
upon the status of d. If d = 0, des-
tination is W register. 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.
Inclusive OR Literal with W
[ label ]
0
(W) .OR. k
Z
The contents of the W register are
OR’ed with the eight bit literal 'k'. The
result is placed in the W register
f
f
[0,1]
k
[0,1]
(destination)
127
127
255
IORWF
MOVF f,d
IORLW k
(W)
(destination)
f,d
Advanced Information
.
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Description:
NOP
Syntax:
Operands:
Operation:
Status Affected:
Description:
No Operation
[ label ]
None
No operation
None
No operation.
Move Literal to W
[ label ]
0
k
None
The eight bit literal 'k' is loaded into W
register
ble as 0’s.
Move W to f
[ label ]
0
(W)
None
Move data from W register to reg-
ister ’f’.
k
f
(W)
.
1999 Microchip Technology Inc.
127
(f)
255
The don’t cares will assem-
NOP
MOVLW k
MOVWF
f

Related parts for PIC16C745/P