Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

PIC18F010T-I/SN View Datasheet(PDF) - Microchip Technology

Part Name
Description
MFG CO.
PIC18F010T-I/SN
Microchip
Microchip Technology Microchip
'PIC18F010T-I/SN' PDF : 176 Pages View PDF
PIC18F010/020
SWAPF
Swap nibbles in f
Syntax:
[ label ] SWAPF f [ ,d [,a] ]
Operands:
0 f 255
d [0,1]
a [0,1]
Operation:
(f<3:0>) dest<7:4>,
(f<7:4>) dest<3:0>
Status Affected: None
Encoding:
0011 10da ffff ffff
Description:
The upper and lower nibbles of reg-
ister fare exchanged. If dis 0, the
result is placed in WREG. If dis 1,
the result is placed in register f
(default). If ais 0, the Access
Bank will be selected, overriding
the BSR value. If ais 1, the Bank
will be selected as per the BSR
value.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Decode
Q2
Read
register f
Q3
Process
Data
Q4
Write to
destination
Example:
SWAPF REG
Before Instruction
REG = 0x53
After Instruction
REG = 0x35
DS41142A-page 134
Preliminary
2001 Microchip Technology Inc.
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]