Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

movh Rd, imm

Rd = imm16<<16;
d ∈ {0, 1, …, 15}
imm ∈ {0, 1, ..., 65535}

Rev2+

111111000001

Rd

imm16

12

4

16

Description

Moves a value into the high halfword of a register. The low halfword is cleared. All flags are unchanged.

Status Flags:

Q:

Not affected.

V:

Not affected.

N:

Not affected.

Z:

Not affected.

C:

Not affected.