Byte swap of half-word data.
[Syntax]
[Function]
Byte-swaps the register value specified by the first operand in halfword units and stores the result in the register specified by the second operand.
[Description]
The assembler generates one bsh machine instruction.
[Flag]
CY
|
1 if either or both of the bytes in the lower halfword of the register is 0, 0 if not
|
OV
|
0
|
S
|
1 if the word data MSB of the result is 1, 0 if not
|
Z
|
1 if the lower half-word data of the result is 0, 0 if not
|
SAT
|
---
|