gc80c510 CORERIVER Semiconductor, gc80c510 Datasheet - Page 179

no-image

gc80c510

Manufacturer Part Number
gc80c510
Description
Eprom/rom 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
MiDAS1.1 Family
SWAP
A
Swap nibbles within the Accumulator
Function:
Description:
SWAP A interchanges the low- and high-order nibbles (four-bit fields) of the
Accumulator (bits 3-0 and bits 7-4). The operation can also be thought of as a
four-bit rotate instruction. No flags are affected.
The Accumulator holds the value 0C5h (11000101b). The instruction,
Example:
SWAP A
leaves the Accumulator holding the value 5Ch (01011100b).
Bytes:
Cycles:
1
1
Encoding:
Operation:
1
1
0
0
0 1 0 0
XCH
(A
)
(A
)
3-0
7-4
Page 179 of 211

Related parts for gc80c510