Difference between revisions of "SCUMM/V6 opcodes"

Jump to navigation Jump to search
(→‎wordVarInc: added from website)
(→‎writeByteVar: added from website)
Line 940: Line 940:


==writeByteVar==
==writeByteVar==
'''Encoding'''
''42 pointer^8''
'''Stack'''
( ''value'' : -)
'''Operation'''
''* pointer := value''
Writes ''value'' to the variable pointed to by ''pointer''. Note that as ''pointer'' is encoded as a byte, it can only point to word variables in the range 0x0000 to 0x00FF. For a more general form of this instruction, use writeWordVar.


==writeWordVar==
==writeWordVar==