Handbook
Glossary
%sub-imm ( dst src1 src2 -- )
CPU architecture description model
Prev:
%sub ( dst src1 src2 -- )
Next:
%mul ( 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:
%sub-imm
cpu
( dst src1 src2 -- )
Methods
USING:
cpu.architecture
cpu.arm.64.assembler
kernel
system
;
M:
arm.64
%sub-imm
spin
SUBi
;
USING:
combinators
cpu.architecture
cpu.x86.assembler
cpu.x86.assembler.operands
kernel
math
system
;
M:
x86
%sub-imm
2over
eq?
[
nip
{
{
1
[
DEC
]
}
{
-1
[
INC
]
}
[
SUB
]
}
case
]
[
neg
[+]
LEA
]
if
;