PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 127

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
Q Cycle Activity:
MOVLR
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
1996 Microchip Technology Inc.
Note:
Before Instruction
After Instruction
Decode
BSR register
BSR register
Q1
This instruction is not available in the
PIC17C42 device.
Read literal
Move Literal to high nibble in
BSR
[ label ]
0
k
The 4-bit literal 'k' is loaded into the
most significant 4-bits of the Bank
Select Register (BSR). Only the high
4-bits of the Bank Select Register
are affected. The lower half of the
BSR is unchanged. The assembler
will encode the “u” fields as 0.
1
1
MOVLR
None
'k:u'
1011
Q2
=
=
k
(BSR<7:4>)
15
0x22
0x52
5
MOVLR k
101x
Execute
Q3
kkkk
literal 'k' to
BSR<7:4>
Write
Q4
uuuu
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example:
After Instruction
Decode
WREG
Q1
=
Move Literal to WREG
[ label ]
0
k
None
The eight bit literal 'k' is loaded into
WREG.
1
1
MOVLW
literal 'k'
Read
1011
Q2
0x5A
k
(WREG)
255
PIC17C4X
MOVLW k
0000
0x5A
Execute
Q3
DS30412C-page 127
kkkk
Write to
WREG
Q4
kkkk

Related parts for PIC17C42