TBHZX-encode ( b40 imm14 Rt -- ) (original) (raw)

TBHZX-encode ( b40 imm14 Rt -- )

Vocabulary
cpu.arm.64.assembler.opcodes

Inputs

b40 an object
imm14 an object
Rt an object

Outputs
None

Definition

USING: endian make math.bitwise ;

IN: cpu.arm.64.assembler.opcodes

: TBHZX-encode ( b40 imm14 Rt -- )
{
{ 1 31 }
{ 27 25 }
{ 0 24 }
{ b40 19 }
{ imm14 5 }
{ Rt 0 }
} bitfield* 4 >le % ;