PIC16C923-04I/CL Microchip Technology, PIC16C923-04I/CL Datasheet - Page 129

no-image

PIC16C923-04I/CL

Manufacturer Part Number
PIC16C923-04I/CL
Description
8-Bit CMOS Microcontroller with LCD Driver
Manufacturer
Microchip Technology
Datasheet
IORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
1997 Microchip Technology Inc.
Inclusive OR Literal with W
[ label ]
0
(W) .OR. k
Z
The contents of the W register is
OR’ed with the eight bit literal 'k'. The
result is placed in the W register
1
1
Before Instruction
After Instruction
Decode
IORLW
Q1
11
k
255
W
W
Z
IORLW k
literal 'k'
1000
0x35
Read
Q2
=
=
=
(W)
0x9A
0xBF
1
Process
kkkk
data
Q3
Write to
kkkk
.
Q4
W
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Inclusive OR W with f
[ label ]
0
d
(W) .OR. (f)
Z
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'.
1
1
Before Instruction
After Instruction
Decode
IORWF
Q1
00
f
[0,1]
PIC16C9XX
127
RESULT =
W
RESULT =
W
Z
IORWF
register
0100
Read
Q2
'f'
DS30444E - page 129
(destination)
RESULT, 0
=
=
=
Process
dfff
f,d
data
Q3
0x13
0x91
0x13
0x93
1
destination
ffff
Write to
Q4

Related parts for PIC16C923-04I/CL