PIC18F1220 MICROCHIP [Microchip Technology], PIC18F1220 Datasheet - Page 195

no-image

PIC18F1220

Manufacturer Part Number
PIC18F1220
Description
18/20/28-Pin High-Performance, Enhanced Flash Microcontrollers with 10-bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F1220-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F1220-I/P
Manufacturer:
Microchip Technology
Quantity:
198
FIGURE 20-1:
 2004 Microchip Technology Inc.
Byte-oriented file register operations
Byte to Byte move operations (2-word)
Bit-oriented file register operations
Literal operations
Control operations
CALL, GOTO and Branch operations
15
15
15
15
15
15
15
15
15
15
15
OPCODE
OPCODE
OPCODE b (BIT #) a
OPCODE
GENERAL FORMAT FOR INSTRUCTIONS
k = 8-bit immediate value
n = 20-bit immediate value
1111
a =
f = 8-bit file register address
d =
d =
a =
a =
f = 12-bit file register address
b = 3-bit position of bit in file register (f)
a =
f = 8-bit file register address
OPCODE
1111
OPCODE
OPCODE
0
1
0
1
0
1
12 11
12 11
12 11
OPCODE
to force Access Bank
for BSR to select bank
for result destination to be WREG register
for result destination to be file register (f)
to force Access Bank
for BSR to select bank
S = Fast bit
10
12 11
12 11
11 10
d
9
9 8 7
8
8 7
f (Destination FILE #)
n<10:0> (literal)
a
f (Source FILE #)
8 7
n<19:8> (literal)
8 7
7
8 7
S
n<7:0> (literal)
n<19:8> (literal)
f (FILE #)
n<7:0> (literal)
k (literal)
n<7:0> (literal)
f (FILE #)
0
0
0
0
0
0
0
0
0
0
0
PIC18F1220/1320
MOVFF MYREG1, MYREG2
MOVLW 0x7F
BSF MYREG, bit, B
BRA MYFUNC
BC MYFUNC
GOTO Label
CALL MYFUNC
ADDWF MYREG, W, B
Example Instruction
DS39605C-page 193

Related parts for PIC18F1220