hsw


Half-word swap of word data.

[Syntax]

-

hsw reg1, reg2

[Function]

Halfword-swaps the register value specified by the first operand and stores the result in the register specified by the second operand.

[Description]

The assembler generates one hsw machine instruction.

[Flag]

CY

1 if one or more halfwords in the word 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 word data of the result is 1, 0 if not

SAT

---