SWAP register upper and lower words
NAME
SWAP -- Swap register upper and lower words
SYNOPSIS
SWAP Dn
Size = (Word)
FUNCTION
Swaps between 16 low bits and 16 high bits of register.
FORMAT
-----------------------------------------------------------------
|15 |14 |13 |12 |11 |10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|-----------|
| 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | REGISTER |
-----------------------------------------------------------------
"REGISTER" indicates the number of register on which swap is made.
RESULT
X - Not affected
N - Set if the most-significant bit of the result was set. Cleared
otherwise.
Z - Set if the 32 bits result was zero. Cleared otherwise.
V - Always cleared.
C - Always cleared.
SEE ALSO
EXG
HTML Conversion by AG2HTML.pl V2.941126c, perl $RCSfile: swap.HTML,v $$Revision: 1.1 $$Date: 1999/09/14 21:14:12 $
Patch level: 36
& witbrock@cs.cmu.edu