Handbook
Glossary
shifted-add/sub-immediate? ( object -- ? )
Vocabulary
cpu
.
arm
.
64
.
assembler
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
shifted-add/sub-immediate
class.
Definition
USING:
combinators.short-circuit
kernel
math
math.bitwise
;
IN:
cpu.arm.64.assembler
:
shifted-add/sub-immediate?
( object -- ? )
dup
integer?
[
{
[
0
=
not
]
[
12
bits
zero?
]
[
-12
shift
12
unsigned-immediate?
]
}
1&&
]
[
drop
f
]
if
;