Open main menu

Difference between revisions of "SCUMM/V6 opcodes"

344 bytes added ,  09:05, 7 May 2007
→‎wordArrayIndexedWrite: added from website
(→‎wordArrayIndexedRead: added from website)
(→‎wordArrayIndexedWrite: added from website)
Line 860: Line 860:


==wordArrayIndexedWrite==
==wordArrayIndexedWrite==
'''Encoding'''
''4B arrayp^16''
'''Stack'''
''( indexx , indexy , value : -)''
'''Operation'''
''arrayp [ indexx ,  indexy ] := value''
Writes value to the array whose resource number is pointed to by ''arrayp'' at offset (''indexx'', ''indexy''). The array can be a byte or word array; when writing to a byte array, value is truncated.


==wordArrayRead==
==wordArrayRead==
334

edits