Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/96 INC2

520 bytes added, 22:14, 7 September 2006
no edit summary
* Opcode: '''0x96'''
* Short name: '''INC2'''
* Long name: Increment (16-bit)

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x96
! width="40" | ''B''
! width="40" | ''A''
|}

==== Arguments ====
* '''const UByte''' ''B'': Destination bank.
* '''const UByte''' ''A'': Address.

==== Description ====

Increments the 16-bit value found at bank '''B''', address '''A'''. If the value is 0xFFFF, it will roll over to 0x0000.

Navigation menu