DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC18LF8410-I/PTQTP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC18LF8410-I/PTQTP
Microchip
Microchip Technology 
PIC18LF8410-I/PTQTP Datasheet PDF : 404 Pages
First Prev 331 332 333 334 335 336 337 338 339 340 Next Last
PIC18F6310/6410/8310/8410
24.2.2 EXTENDED INSTRUCTION SET
ADDFSR
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
Add Literal to FSR
ADDFSR f, k
0 k 63
f [0, 1, 2]
FSR(f) + k FSR(f)
None
1110 1000 ffkk kkkk
The 6-bit literal ‘k’ is added to the
contents of the FSR specified by ‘f’.
1
1
Q2
Read
literal ‘k’
Q3
Process
Data
Q4
Write to
FSR
Example:
ADDFSR 2, 23h
Before Instruction
FSR2 =
After Instruction
FSR2 =
03FFh
0422h
ADDULNK
Add Literal to FSR2 and Return
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
ADDULNK k
0 k 63
FSR2 + k FSR2,
(TOS) PC
None
1110 1000
11kk
kkkk
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
No
Operation
The 6-bit literal ‘k’ is added to the
contents of FSR2. A RETURN is then
executed by loading the PC with the
TOS.
The instruction takes two cycles to
execute; a NOP is performed during the
second cycle.
This may be though of as a special case
of the ADDFSR instruction, where f = 3
(binary ‘11’); it operates only on FSR2.
1
2
Q2
Read
literal ‘k’
No
Operation
Q3
Process
Data
No
Operation
Q4
Write to
FSR
No
Operation
Example:
ADDULNK 23h
Before Instruction
FSR2 =
PC
=
After Instruction
FSR2 =
PC
=
03FFh
0100h
0422h
(TOS)
DS39635A-page 330
Preliminary
2004 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]