Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

PIC18F010T View Datasheet(PDF) - Microchip Technology

Part Name
Description
MFG CO.
PIC18F010T
Microchip
Microchip Technology Microchip
'PIC18F010T' PDF : 176 Pages View PDF
PIC18F010/020
FIGURE 13-1:
GENERAL FORMAT FOR INSTRUCTIONS
Byte-oriented file register operations
15
10 9 8 7
OPCODE d a
0
f (FILE #)
d = 0 for result destination to be WREG register
d = 1 for result destination to be file register (f)
a = 0 to force Access Bank
a = 1 for BSR to select Bank
f = 8-bit file register address
Example Instruction
ADDWF MYREG, W, B
Byte to Byte move operations (2-word)
15
12 11
OPCODE
0
f (Source FILE #)
15
12 11
1111
0
f (Destination FILE #)
MOVFF MYREG1, MYREG2
f = 12-bit file register address
Bit-oriented file register operations
15
12 11 9 8 7
0
OPCODE b (BIT #) a f (FILE #)
b = 3-bit position of bit in file register (f)
a = 0 to force Access Bank
a = 1 for BSR to select Bank
f = 8-bit file register address
BSF MYREG, bit, B
Literal operations
15
OPCODE
87
k = 8-bit immediate value
0
k (literal)
MOVLW 0x7F
Control operations
CALL, GOTO and Branch operations
15
87
0
OPCODE
n<7:0> (literal)
15
12 11
0
1111
n<19:8> (literal)
n = 20-bit immediate value
15
87
0
OPCODE
S n<7:0> (literal)
15
12 11
0
1111
n<19:8> (literal)
S = Fast bit
GOTO Label
CALL MYFUNC
15
11 10
0
OPCODE
n<10:0> (literal)
15
87
0
OPCODE
n<7:0> (literal)
BRA MYFUNC
BC MYFUNC
15
64
0
OPCODE
f
k (literal)
15
11
7
0
1111
0000
k (literal)
LFSR FSR0, 0x100
2001 Microchip Technology Inc.
Preliminary
DS41142A-page 97
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]