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
MOVSS
Move Indexed to Indexed
Syntax:
Operands:
Operation:
Status Affected:
MOVSS [zs], [zd]
0 zs 127
0 zd 127
((FSR2) + zs) ((FSR2) + zd)
None
Encoding:
1st word (source)
2nd word (dest.)
Description
1110
1111
1011
xxxx
1zzz zzzzs
xzzz zzzzd
The contents of the source register are
moved to the destination register. The
addresses of the source and destination
registers are determined by adding the
7-bit literal offsets ‘zs’ or ‘zd’,
respectively, to the value of FSR2. Both
registers can be located anywhere in
the 4096-byte data memory space
(000h to FFFh).
The MOVSS instruction cannot use the
PCL, TOSU, TOSH or TOSL as the
destination register.
If the resultant source address points to
an indirect addressing register, the
value returned will be 00h. If the
resultant destination address points to
an indirect addressing register, the
instruction will execute as a NOP.
Words:
2
Cycles:
2
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Decode
Determine
source addr
Determine
dest addr
Determine
source addr
Determine
dest addr
Read
source reg
Write
to dest reg
Example:
MOVSS [05h], [06h]
Before Instruction
FSR2
Contents
of 85h
Contents
of 86h
= 80h
= 33h
= 11h
After Instruction
FSR2
Contents
of 85h
Contents
of 86h
= 80h
= 33h
= 33h
PUSHL
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
Store Literal at FSR2,
Decrement FSR2
PUSHL k
0 k 255
k (FSR2),
FSR2 - 1FSR2
None
1111 1010 kkkk kkkk
The 8-bit literal ‘k’ is written to the data
memory address specified by FSR2.
FSR2 is decremented by ‘1’ after the
operation.
This instruction allows users to push
values onto a software stack.
1
1
Q2
Read ‘k’
Q3
Process
data
Q4
Write to
destination
Example:
PUSHL
Before Instruction
FSR2H:FSR2L
Memory (01ECh)
08h
=
=
01ECh
00h
After Instruction
FSR2H:FSR2L
Memory (01ECh)
= 01EBh
= 08h
DS39635A-page 332
Preliminary
2004 Microchip Technology Inc.

Share Link: 

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