ADDG-encode ( uimm6 uimm4 Xn Xd -- ) (original) (raw)

ADDG-encode ( uimm6 uimm4 Xn Xd -- )

Vocabulary
cpu.arm.64.assembler.opcodes

Inputs

uimm6 an object
uimm4 an object
Xn an object
Xd an object

Outputs
None

Definition

USING: endian make math.bitwise ;

IN: cpu.arm.64.assembler.opcodes

: ADDG-encode ( uimm6 uimm4 Xn Xd -- )
{
{ 1 31 }
{ 0 30 }
{ 0 29 }
{ 35 23 }
{ 0 22 }
{ uimm6 16 }
{ 0 14 }
{ uimm4 10 }
{ Xn 5 }
{ Xd 0 }
} bitfield* 4 >le % ;