REV-encode ( bw Rn Rd -- ) (original) (raw)

REV-encode ( bw Rn Rd -- )

Vocabulary
cpu.arm.64.assembler.opcodes

Inputs

bw an object
Rn an object
Rd an object

Outputs
None

Definition

USING: endian make math.bitwise ;

IN: cpu.arm.64.assembler.opcodes

: REV-encode ( bw Rn Rd -- )
{
{ bw 31 }
{ 1 30 }
{ 0 29 }
{ 214 21 }
{ 0 16 }
{ 0 12 }
{ 2 10 }
{ Rn 5 }
{ Rd 0 }
} bitfield* 4 >le % ;