EasyManua.ls Logo

Oki MSM85C154HVS - Page 368

Oki MSM85C154HVS
378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DESCRIPTION OF INSTRUCTIONS
361
101. SWAP A (Exchange nibble in accumulator)
11000100
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example SWAP A
Instruction code
: Byte 1
(A
4~7)
(A0~3):
C AC F0 RS1 RS0 OV F1 P
:
:
:
The contents of the four higher order bits (4 thru 7) of the
accumulator are exchanged with the contents of the four lower
order bits (0 thru 3)
:
11000100
70
Byte 1
Accumulator
10110100
70
1
1
Before execution
Accumulator
01001011
70
After execution
:

Table of Contents