IMM? ( object -- ? )


Vocabulary
cpu.arm.assembler

Inputs and outputs
objectan object
?a boolean


Word description
Tests if the object is an instance of the IMM class.

Definition
USING: classes.tuple.private kernel slots.private ;

IN: cpu.arm.assembler

: IMM? ( object -- ? )
dup tuple? [ layout-of 7 slot \ IMM eq? ] [ drop f ] if ;