PIC18F2331 MICROCHIP [Microchip Technology], PIC18F2331 Datasheet - Page 315

no-image

PIC18F2331

Manufacturer Part Number
PIC18F2331
Description
28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2331-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2331-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
 2003 Microchip Technology Inc.
Q Cycle Activity:
After Instruction
Decode
W
Q1
=
Move literal to W
[ label ]
0
k
None
The eight-bit literal ‘k’ is loaded into
W.
1
1
literal ‘k’
MOVLW
Read
0000
Q2
0x5A
k
W
255
MOVLW k
1110
0x5A
Process
Data
Q3
kkkk
Write to W
PIC18F2331/2431/4331/4431
Q4
kkkk
Preliminary
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Q Cycle Activity:
Before Instruction
After Instruction
Decode
W
REG
W
REG
Q1
=
=
=
=
register ‘f’
Move W to f
[ label ]
0
a
(W)
None
Move data from W to register ‘f’.
Location ‘f’ can be anywhere in the
256 byte bank. If ‘a’ is 0, the
Access Bank will be selected, over-
riding the BSR value. If ‘a’ = 1, then
the bank will be selected as per the
BSR value (default).
1
1
MOVWF
Read
0110
Q2
0x4F
0xFF
0x4F
0x4F
f
[0,1]
255
f
MOVWF
111a
REG
Process
Data
Q3
DS39616B-page 313
ffff
f [,a]
register ‘f’
Write
Q4
ffff

Related parts for PIC18F2331