Handbook
Glossary
maybe-zero-extend ( reg imm -- reg' imm )
Vocabulary
cpu
.
x86
.
assembler
.
private
Inputs
reg
an
object
imm
an
object
Outputs
reg'
an
object
imm
an
object
Definition
USING:
cpu.x86.assembler.operands
kernel
;
IN:
cpu.x86.assembler.private
:
maybe-zero-extend
( reg imm -- reg' imm )
dup
zero-extendable?
[
[
32-bit-version-of
]
dip
]
when
;