Elmo HARSFEN0602 Network Hardware User Manual


 
HARSFEN0602
DataSeg + Op1 Arr (array address)
(SP)
Ind (array index)
Arr[Ind]
(SP) (return value)
Attributes
Attribute Value Comment
Op code May change in future
versions
Number of arguments 1
Argument type Signed short integer
Addressing modes Mem_Direct Location of variable (index)
in the variable symbol table.
Address of array variable is
taken from the table.
Array index is at top of stack.
Promotion N.A.
Output type Argument Type1 Value from array is pushed at
the top of stack instead of
array index
Imposes end of line No
7.7.10 GET_COMM – Get Command
Purpose:
Call to function service of a ‘get’ command.
Algorithm:
FuncTable
(list of functions handlers)
FuncTable[Op1]()
(SP) (put return value at top of stack)
SP
SP +1
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.
If system parameter is an
array , array index is at top of
stack .
Promotion N.A.
Output type N.A. Output argument is at top of
stack.
Type set according to service
function .
Imposes end of line No
7.7.11 JMP – Jump
Purpose:
Jump to another location in the program.
Algorithm: