Elmo HARmonica Network Hardware User Manual


 
HARSFEN0602
Shift left the number below top of stack by the number at the top of stack.
Algorithm:
(SP-1) << (SP)
(SP-1)
SP
SP – 1
Attributes
Attribute Value Comment
Op code May change in future
versions
Number of arguments None
Argument types N.A. Both arguments types must
be integer (set according to
stack members flags)
Addressing modes Absent
Promotion N.A.
Output type Int << Int Int
Imposes end of line No
7.7.35 SPADD
Purpose:
Increase or decrease stack pointer with the value given as an argument.
Algorithm:
SP SP + OP1
Attributes
Attribute Value Comment
Op code May change in future
versions
Number of arguments 1
Argument type Signed char integer
Addressing modes Immediate1
Promotion N.A.
Output type N.A.
Imposes end of line No
7.7.36 SUB - SUBTRACT
Purpose:
Subtraction of two numbers (top two entries at the stack) .
Algorithm:
(SP-1) - (SP)
(SP-1)
SP
SP-1
Attributes
Attribute Value Comment
Op code May change in future
versions
Number of arguments None
Argument types N.A. Both arguments types are set
according to stack members
flags