334
edits
m (→land: formatting) |
(lor, lt, mul from http://www.scummvm.org/docs/specs/scrp-v6.php) |
||
Line 527: | Line 527: | ||
==lor== | ==lor== | ||
'''Encoding''' | |||
''19'' | |||
'''Stack''' | |||
''( in1 in2 : out)'' | |||
'''Operation''' | |||
out:=in1 || in2 | |||
Performs a logical or operation on the stack (not a bitwise or). Note the order. | |||
The boolean values are as in C, with 0 for false and non-zero for true. | |||
==lt== | ==lt== | ||
'''Encoding''' | |||
''11'' | |||
'''Stack''' | |||
''( value1 value2 : bool)'' | |||
'''Operation''' | |||
If value1<value2 , set bool to 1, otherwise set it to 0 | |||
Compares the top two values on the stack. Note the order. | |||
==MM C9 miscOps== | |||
==mul== | ==mul== | ||
'''Encoding''' | |||
''16'' | |||
'''Stack''' | |||
''( in1 in2 : out)'' | |||
'''Operation''' | |||
out:=in1× in2 | |||
Performs a multiplication operation on the stack. Note the order. | |||
==neq== | ==neq== |
edits