Open main menu

Difference between revisions of "SCUMM/V6 opcodes"

344 bytes added ,  09:16, 7 May 2007
→‎writeByteVar: added from website
(→‎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==
334

edits