Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/17 IFSWL

923 bytes added, 01:07, 18 August 2006
no edit summary
* Opcode: '''0x17'''
* Short name: '''IFSWL'''
* Long name: If (Signed Word, Long Jump)

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x17
! 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 Short''' ''V'': Unsigned value to compare the retrieved value to.
* '''const UByte''' ''C'': Type of comparison to perform.
* '''const UShort''' ''E'': Amount to jump if the comparison does not hold.

==== Description ====

This is similar to the [[FF7/Field/Script/Opcodes/18 IFSWL|IFSWL]] opcode in allowing the comparison value to be negative, but in addition, allows the jump on comparison failure to be longer than 0xFF bytes.