User's Manual

HARSFEN0602
Addressing modes Absent
Promotion N.A.
Output type Int Compare result is always
integer
Imposes end of line No
7.7.30 RSLTOR – Logical OR Operator ( || )
Purpose:
If one of the numbers or both are non-zero condition is true otherwise it’s false (numbers are at top two
entries of 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 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.31 SET_COMM – Set Command
Purpose:
Call to function service of a ‘set’ command.
Algorithm:
FuncTable
(list of functions handlers)
(SP)
ArrayIndex
(SP-1) VAL
FuncTable[Op1](val , ArrayIndex) (call to ‘set’ command)
Attributes
Attribute Value Comment
Op code May change in future
versions
Number of arguments 1
Argument types Unsigned char integer
Addressing modes Immediate1 Index of service function in
function table.
Array index is at top of stack
.
Set value is at one entry
below top of stack.
Promotion N.A.
Output type N.A.