Handbook
Glossary
immediate-store? ( n -- ? )
CPU architecture description model
Prev:
immediate-comparand? ( n -- ? )
Next:
immediate-shift-count? ( n -- ? )
Vocabulary
cpu
.
architecture
Inputs
n
a
number
Outputs
?
a
boolean
Word description
Can this value be an immediate operand for %replace-imm?
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
immediate-store?
cpu
( n -- ? )
Methods
USING:
combinators
cpu.architecture
cpu.arm.64.assembler
kernel
layouts
math
system
;
M:
arm.64
immediate-store?
{
{
[
dup
fixnum?
]
[
tag-fixnum
16
unsigned-immediate?
]
}
{
[
dup
not
]
[
drop
t
]
}
[
drop
f
]
}
cond
;
USING:
cpu.architecture
system
;
M:
x86
immediate-store?
immediate-comparand?
;