Handbook
Glossary
immediate-arithmetic? ( n -- ? )
CPU architecture description model
Prev:
gc-root-offset ( spill-slot -- n )
Next:
immediate-bitwise? ( n -- ? )
Vocabulary
cpu
.
architecture
Inputs
n
a
number
Outputs
?
a
boolean
Word description
Can this value be an immediate operand for
%add-imm
,
%sub-imm
, or
%mul-imm
?
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
immediate-arithmetic?
cpu
( n -- ? )
Methods
USING:
cpu.architecture
math.order
system
;
M:
arm.64
immediate-arithmetic?
-2147483648 2147483647
between?
;
USING:
cpu.architecture
math.order
system
;
M:
x86
immediate-arithmetic?
-2147483648 2147483647
between?
;