PIC16C926-I/CL Microchip Technology, PIC16C926-I/CL Datasheet - Page 126

no-image

PIC16C926-I/CL

Manufacturer Part Number
PIC16C926-I/CL
Description
64/68-Pin CMOS Microcontrollers with LCD Driver
Manufacturer
Microchip Technology
Datasheet
PIC16C925/926
IORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS39544A-page 124
Before Instruction:
After Instruction:
RESULT
W
RESULT
W
Z
Inclusive OR W with f
[ label ]
0
d
(W).OR. (f)
Z
Inclusive OR the W register with reg-
ister ’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
IORWF
Decode
Q1
=
=
=
=
=
00
f
[0,1]
127
0x13
0x91
0x13
0x93
0
IORWF
register
0100
Read
Q2
’f’
(destination)
RESULT, 0
Process
dfff
f [,d]
data
Q3
destination
Write to
ffff
Q4
Preliminary
MOVF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
After Instruction:
After Instruction:
W
Z
W
=
=
=
value in FSR register
1 if W = 0
0x5A
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, the destination 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.
1
1
MOVF
Move Literal to W
[ label ]
0
k
None
The eight-bit literal ’k’ is loaded into
W register. The don’t cares will
assemble as 0’s.
1
1
MOVLW
Decode
Decode
Q1
Q1
00
11
f
k
[0,1]
(W)
(destination)
2001 Microchip Technology Inc.
127
255
FSR,
MOVLW k
MOVF f [,d]
literal ’k’
register
1000
Read
00xx
Read
0x5A
Q2
Q2
’f’
0
Process
Process
kkkk
dfff
data
data
Q3
Q3
destination
Write to
Write to
kkkk
ffff
Q4
W
Q4

Related parts for PIC16C926-I/CL