immediate-1/4 ( dst imm reg,rex.w,opcode -- )


Vocabulary
cpu.x86.assembler.private

Inputs and outputs
dstdst
immimm
reg,rex.w,opcodea sequence


Word description
If imm is a byte, compile the opcode and the byte. Otherwise, set the 8-bit operand flag in the opcode, and compile the cell. The 'reg' is not really a register, but a value for the 'reg' field of the mod-r/m byte.

Definition