immediate-fits-in-size-bit ( dst imm reg,rex.w,opcode -- imm dst reg,rex.w,opcode ) (original) (raw)

immediate-fits-in-size-bit ( dst imm reg,rex.w,opcode -- imm dst reg,rex.w,opcode )

Vocabulary
cpu.x86.assembler.private

Inputs

dst an object
imm an object
reg,rex.w,opcode an object

Outputs

imm an object
dst an object
reg,rex.w,opcode an object

Definition

USING: arrays kernel math sequences ;

IN: cpu.x86.assembler.private

: immediate-fits-in-size-bit
( dst imm reg,rex.w,opcode -- imm dst reg,rex.w,opcode )
over integer? [ first3 2 opcode-or 3array ] when ;