Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/18 IFUW

839 bytes added, 01:02, 18 August 2006
no edit summary
* Opcode: '''0x18'''
* Short name: '''IFUW'''
* Long name: If (Unsigned Word)

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

==== Arguments ====

* '''const UByte''' ''B'': Memory bank to access.
* '''const UShort''' ''A'': Address of the value to retrieve.
* '''const UShort''' ''V'': Unsigned value to compare the retrieved value to.
* '''const UByte''' ''C'': Type of comparison to perform.
* '''const UByte''' ''E'': Amount to jump if the comparison does not hold.

==== Description ====

This is similar to the [[FF7/Field/Script/Opcodes/14 IFUB|IFUB]] opcode, but it allows both address and value to be larger than 0xFF.