Extensible Firmware Interface Specification
19-44 12/01/02 Version 1.10
MOVsn
SYNTAX:
MOVsn{w} {@}R
1
, {Index16}, {@}R
2
{Index16|Immed16}
MOVsn{d} {@}R
1
{Index32}, {@}R
2
{Index32|Immed32}
DESCRIPTION:
Moves a signed natural value from Operand 2 to Operand 1. Both operands can be indexed,
though the indexes are the same size. Indexes can be either 16 bits (MOVsnw) or 32 bits
(MOVsnd) in size.
OPERATION:
Operand 1 <= Operand 2
Table 19-31. MOVsn Instruction Encoding
BYTE DESCRIPTION
Bit Description
7 0 = Operand 1 index absent
1 = Operand 1 index present
0
6 0 = Operand 2 index/immediate data absent
1 = Operand 2 index/immediate data present
0..5 0x25 = MOVsnw opcode
0x26 = MOVsnd 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 16-bit Operand 1 index (MOVsnw)
2..3/4..5 Optional 16-bit Operand 2 index (MOVsnw)
2..5 Optional 32-bit Operand 1 index/immediate data (MOVsnd)
2..5/6..9 Optional 32-bit Operand 2 index/immediate data (MOVsnd)