PIC18F1220-H/P Microchip Technology, PIC18F1220-H/P Datasheet - Page 219

no-image

PIC18F1220-H/P

Manufacturer Part Number
PIC18F1220-H/P
Description
IC MCU 8BIT 4KB FLASH 18PDIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet

Specifications of PIC18F1220-H/P

Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 150°C
Package / Case
18-DIP (0.300", 7.62mm)
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MOVLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
© 2007 Microchip Technology Inc.
Q Cycle Activity:
After Instruction
Decode
W
Q1
=
Move literal to W
[ label ]
0 ≤ k ≤ 255
k → W
None
The eight-bit literal ‘k’ is loaded
into W.
1
1
MOVLW
literal ‘k’
Read
0000
Q2
0x5A
MOVLW k
1110
0x5A
Process
Data
Q3
kkkk
Write to W
Q4
kkkk
MOVWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Q Cycle Activity:
Before Instruction
After Instruction
Decode
W
REG
W
REG
PIC18F1220/1320
Q1
=
=
=
=
register ‘f’
Move W to f
[ label ]
0 ≤ f ≤ 255
a ∈ [0,1]
(W) → f
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
MOVWF
111a
REG
Process
Data
Q3
DS39605F-page 217
ffff
f [,a]
register ‘f’
Write
Q4
ffff

Related parts for PIC18F1220-H/P