Movn, Movn syntax, Description – Intel Extensible Firmware Interface User Manual

Page 815: Operation

Advertising
background image

EFI Byte Code Virtual Machine

Version 1.10

12/01/02

19-41

MOVn

SYNTAX:

MOVn{w|d} {@}R

1

{Index16|32}, {@}R

2

{Index16|32}

DESCRIPTION:

This instruction loads an unsigned natural value from Operand 2 and stores the value to Operand 1.
Both operands can be indexed, though both operand indexes are the same size. The operand
index(s) can be 16 bits (w) or 32 bits (d).

OPERATION:

Operand1 <= (UINTN)Operand2

Table 19-29. MOVn Instruction Encoding

BYTE DESCRIPTION

Bit Description

7

0 = Operand 1 index absent

1 = Operand 1 index present

0

6

0 = Operand 2 index absent

1 = Operand 2 index present

0..5

0x32 = MOVnw opcode

0x33 = MOVnd opcode

Bit Description

7

0 = Operand 2 direct

1 = Operand 2 indirect

4..6 Operand

2

3

0 = Operand 1 direct

1 = Operand 1 indirect

1

0..2 Operand

1

2..3

Optional Operand 1 16-bit index

2..3/4..5

Optional Operand 2 16-bit index

2..5

Optional Operand 1 32-bit index

2..5/6..9

Optional Operand 2 32-bit index

Advertising