gc80c520a CORERIVER Semiconductor, gc80c520a Datasheet - Page 154

no-image

gc80c520a

Manufacturer Part Number
gc80c520a
Description
Midas1.0 Family Mask Rom/eprom/romless 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
Instruction Set
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
Preliminary
Page 154 of 187

Related parts for gc80c520a