Elmo HARSFEN0602 Network Hardware User Manual


 
HARSFEN0602
stack members flags)
Addressing modes Absent
Promotion N.A.
Output type Int % Int Int
Imposes end of line No
7.7.23 RSLTA – Relational Operator (>)
Purpose:
Compare two numbers, if the first number is bigger condition is true otherwise it’s false (numbers are at top
two entries of the stack) .
Algorithm:
((SP-1) > (SP))
(SP)
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
Addressing modes Absent
Promotion N.A.
Output type Int Compare result is always
integer
Imposes end of line No
7.7.24 RSLTAE – Relational Operator (>=)
Purpose:
Compare two numbers, if first number is bigger or they are equal condition is true otherwise it’s false
(numbers are at top two entries of the stack) .
Algorithm:
((SP-1) >= (SP))
(SP)
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
Addressing modes Absent
Promotion N.A.
Output type Int Compare result is always
integer
Imposes end of line No