Handbook
Glossary
immediate-bitwise? ( n -- ? )
CPU architecture description model
Prev:
immediate-arithmetic? ( n -- ? )
Next:
immediate-comparand? ( n -- ? )
Vocabulary
cpu
.
architecture
Inputs
n
a
number
Outputs
?
a
boolean
Word description
Can this value be an immediate operand for %and-imm, %or-imm, or %xor-imm?
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
immediate-bitwise?
cpu
( n -- ? )
Methods
USING:
continuations
cpu.architecture
cpu.arm.64.assembler
kernel
system
;
M:
arm.64
immediate-bitwise?
[
encode-bitmask
drop
t
]
[
2drop
f
]
recover
;
USING:
cpu.architecture
math.order
system
;
M:
x86
immediate-bitwise?
-2147483648 2147483647
between?
;