1-operand ( operand reg,rex.w,opcode -- ) (original) (raw)

1-operand ( operand reg,rex.w,opcode -- )

Vocabulary
cpu.x86.assembler.private

Inputs

operand operand
reg,rex.w,opcode a sequence

Outputs
None

Word description
Used for encoding some instructions with one operand.

Definition

USING: kernel sequences ;

IN: cpu.x86.assembler.private

: 1-operand ( operand reg,rex.w,opcode -- )
first3 [ overd prefix-1 ] dip opcode, swap addressing ;