Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/16 IFSW

818 bytes added, 01:06, 18 August 2006
no edit summary
* Opcode: '''0x16'''
* Short name: '''IFSW'''
* Long name: If (Signed Word)

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x16
! 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 UByte''' ''E'': Amount to jump if the comparison does not hold.

==== Description ====

This is similar to the [[FF7/Field/Script/Opcodes/18 IFUW|IFUW]] opcode, but the value compared to may be negative.

Navigation menu