PIC18F258 MICROCHIP [Microchip Technology], PIC18F258 Datasheet - Page 304

no-image

PIC18F258

Manufacturer Part Number
PIC18F258
Description
High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F258-E/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC18F258-I/P
Manufacturer:
ST
Quantity:
320
Part Number:
PIC18F258-I/SO
Manufacturer:
MICROCHIP
Quantity:
2 000
Part Number:
PIC18F258-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2580
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC18F2580-E/ML
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F2580-E/SO
Manufacturer:
Microchi
Quantity:
2 952
Part Number:
PIC18F2580-E/SP
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F2580-I/SO
Manufacturer:
MICRO
Quantity:
10
Part Number:
PIC18F2580-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2580-I/SO
0
Part Number:
PIC18F2585-I/SO
Quantity:
2
PIC18FXX8
MOVFF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
1st word (source)
2nd word (destin.)
Description:
Words:
Cycles:
Example:
DS41159B-page 302
Q Cycle Activity:
Before Instruction
After Instruction
Decode
Decode
REG1
REG2
REG1
REG2
Q1
No dummy
register ’f’
operation
Move f to f
[ label ]
0
0
(f
None
The contents of source register ’f
are moved to destination register
’f
anywhere in the 4096 byte data
space (000h to FFFh), and location
of destination ’f
where 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.
The MOVFF instruction should not
be used to modify interrupt settings
while any interrupt is enabled (see
page 77).
2
2 (3)
MOVFF
d
Read
s
(src)
read
1100
1111
’. Location of source ’f
)
No
Q2
=
=
=
=
f
f
s
d
f
d
4095
0x33
0x11
0x33,
0x33
4095
REG1, REG2
MOVFF f
ffff
ffff
operation
Process
Data
No
d
Q3
’ can also be any-
ffff
ffff
s
,f
d
s
operation
register ’f’
’ can be
(dest)
Write
No
Q4
fff
fff
f
f
s
s
d
MOVLB
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Q Cycle Activity:
Before Instruction
After Instruction
Decode
BSR register
BSR register
Q1
Read literal
Move literal to low nibble in BSR
[ label ]
0
k
None
The 8-bit literal ’k’ is loaded into
the Bank Select Register (BSR).
1
1
MOVLB
0000
Q2
’k’
=
=
k
BSR
2002 Microchip Technology Inc.
255
0x02
0x05
5
MOVLB k
0001
Process
Data
Q3
kkkk
literal ’k’ to
Write
BSR
Q4
kkkk

Related parts for PIC18F258