Handbook
Glossary
%add-imm ( dst src1 src2 -- )
CPU architecture description model
Prev:
%add ( dst src1 src2 -- )
Next:
%sub ( dst src1 src2 -- )
Vocabulary
cpu
.
architecture
Inputs
dst
an
object
src1
an
object
src2
an
object
Outputs
None
Definition
USING:
system
;
IN:
cpu.architecture
HOOK:
%add-imm
cpu
( dst src1 src2 -- )
Methods
USING:
cpu.architecture
cpu.arm.64.assembler
kernel
system
;
M:
arm.64
%add-imm
spin
ADDi
;
USING:
combinators
cpu.architecture
cpu.x86.assembler
cpu.x86.assembler.operands
kernel
system
;
M:
x86
%add-imm
2over
eq?
[
nip
{
{
1
[
INC
]
}
{
-1
[
DEC
]
}
[
ADD
]
}
case
]
[
[+]
LEA
]
if
;