PIC18F-LF1XK50 MICROCHIP [Microchip Technology], PIC18F-LF1XK50 Datasheet - Page 311

no-image

PIC18F-LF1XK50

Manufacturer Part Number
PIC18F-LF1XK50
Description
20-Pin USB Flash Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
FIGURE 25-1:
 2010 Microchip Technology Inc.
Byte-oriented file register operations
Byte to Byte move operations (2-word)
Bit-oriented file register operations
Literal operations
CALL, GOTO and Branch operations
Control operations
15
15
15
15
15
15
15
15
15
15
15
OPCODE
OPCODE b (BIT #) a
OPCODE
OPCODE
GENERAL FORMAT FOR INSTRUCTIONS
k = 8-bit immediate value
n = 20-bit immediate value
1111
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
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 = 12-bit file register address
f = 8-bit file register address
1111
OPCODE
OPCODE
1111
OPCODE
12 11
12 11
12 11
OPCODE
S = Fast bit
12 11
10
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
8 7
7
8 7
S
n<7:0> (literal)
n<19:8> (literal)
n<19:8> (literal)
f (FILE #)
n<7:0> (literal)
k (literal)
n<7:0> (literal)
f (FILE #)
Preliminary
0
0
0
0
0
0
0
0
0
0
0
PIC18F/LF1XK50
MOVFF MYREG1, MYREG2
MOVLW 7Fh
BSF MYREG, bit, B
BRA MYFUNC
BC MYFUNC
GOTO Label
CALL MYFUNC
ADDWF MYREG, W, B
Example Instruction
DS41350E-page 311

Related parts for PIC18F-LF1XK50