Difference between revisions of "SCUMM/V6 opcodes"

Jump to navigation Jump to search
456 bytes added ,  14:02, 3 May 2007
land and le - from http://www.scummvm.org/docs/specs/scrp-v6.php
(→‎kill: added from http://www.scummvm.org/docs/specs/scrp-v6.php)
(land and le - from http://www.scummvm.org/docs/specs/scrp-v6.php)
Line 491: Line 491:


==land==
==land==
'''Encoding'''
''18''
'''Stack'''
''( in1  in2  :  out)''
'''Operation'''
out:=in1  &&  in2
Performs a logical and operation on the stack (not a bitwise and). Note the order.
The boolean values are as in C, with 0 for false and non-zero for true.


==le==
==le==
'''Encoding'''
''12''
'''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 7B loadRoom==
==MM 7B loadRoom==
334

edits

Navigation menu