Handbook
Glossary
MOVSX ( dst src -- )
CPU x86 assembler
Prev:
MOV ( dst src -- )
Next:
PEXTRB ( dest src imm -- )
Vocabulary
cpu
.
x86
.
assembler
Inputs
dst
destination
src
source
Outputs
None
Word description
Moves a value with sign extension.
Definition
USING:
cpu.x86.assembler.operands.private
cpu.x86.assembler.private
kernel
;
IN:
cpu.x86.assembler
:
MOVSX
( dst src -- )
dup
register-32?
99 190
extended-opcode
?
over
register-16?
[
1
opcode-or
]
when
(2-operand)
;