Handbook
Glossary
has-small-reg? ( reg size -- ? )
Vocabulary
cpu
.
x86
Inputs
reg
an
object
size
an
object
Outputs
?
an
object
Definition
USING:
system
;
IN:
cpu.x86
HOOK:
has-small-reg?
cpu
( reg size -- ? )
Methods
USING:
combinators
cpu.x86
kernel
sequences
system
;
M:
x86.32
has-small-reg?
{
{
8
[
have-byte-regs
member-eq?
]
}
{
16
[
drop
t
]
}
{
32
[
drop
t
]
}
}
case
;
USING:
cpu.x86
kernel
system
;
M:
x86.64
has-small-reg?
2drop
t
;