Handbook
Glossary
modifier ( op -- n )
Vocabulary
cpu
.
x86
.
assembler
.
private
Inputs
op
an
object
Outputs
n
an
object
Definition
IN:
cpu.x86.assembler.private
GENERIC:
modifier
( op -- n )
Methods
USING:
accessors
combinators
cpu.x86.assembler.operands.private
cpu.x86.assembler.private
kernel
;
M:
indirect
modifier
dup
base>>
[
displacement>>
{
{
[
dup
not
]
[
0
]
}
{
[
dup
fits-in-byte?
]
[
1
]
}
{
[
dup
immediate?
]
[
2
]
}
}
cond
nip
]
[
drop
0
]
if
;
USING:
cpu.x86.assembler.operands
cpu.x86.assembler.private
kernel
;
M:
register
modifier
drop
3
;