hsh


Half-word swap of half-word data.

[Syntax]

-

hsh reg1, reg2

[Function]

Stores the register value specified by the first operand in the register specified by the second operand, and stores the flag assessment result in the PSW register.

[Description]

The assembler generates one hsh machine instruction.

[Flag]

CY

1 if the lower half-word data of the result 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

---