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

PIC18F44J50-I/SPSQTP 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC18F44J50-I/SPSQTP Datasheet PDF : 562 Pages
First Prev 451 452 453 454 455 456 457 458 459 460 Next Last
PIC18F46J50 FAMILY
MOVFF
Move f to f
Syntax:
Operands:
Operation:
Status Affected:
MOVFF fs,fd
0 fs 4095
0 fd 4095
(fs) fd
None
Encoding:
1st word (source)
2nd word (destin.)
Description:
1100
1111
ffff
ffff
ffff
ffff
ffffs
ffffd
The contents of source register, ‘fs’, are
moved to destination register,‘ fd’.
Location of source ‘fs’ can be anywhere
in the 4096-byte data space (000h to
FFFh) and location of destination, ‘fd’,
can also be anywhere from 000h to
FFFh.
Either source or destination can be W
(a useful special situation).
MOVFF is particularly useful for
transferring a data memory location to
a peripheral register (such as the
transmit buffer or an I/O port).
The MOVFF instruction cannot use the
PCL, TOSU, TOSH or TOSL as the
destination register
Words:
2
Cycles:
2
Q Cycle Activity:
Q1
Decode
Decode
Q2
Read
register ‘f’
(src)
No
operation
No dummy
read
Q3
Process
Data
No
operation
Q4
No
operation
Write
register ‘f’
(dest)
Example:
MOVFF REG1, REG2
Before Instruction
REG1
REG2
= 33h
= 11h
After Instruction
REG1
REG2
= 33h
= 33h
MOVLB
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
Move Literal to Low Nibble in BSR
MOVLB k
0 k 255
k BSR
None
0000 0001 kkkk kkkk
The eight-bit literal, ‘k’, is loaded into
the Bank Select Register (BSR). The
value of BSR<7:4> always remains ‘0
regardless of the value of k7:k4.
1
1
Q2
Read
literal ‘k’
Q3
Process
Data
Q4
Write literal
‘k’ to BSR
Example:
MOVLB
5
Before Instruction
BSR Register = 02h
After Instruction
BSR Register = 05h
DS39931D-page 460
2011 Microchip Technology Inc.

Share Link: 

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