Difference between revisions of "FF7/Field/Script/Opcodes/19 IFUWL"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>Synergy Blades
m
Line 23: Line 23:
 
==== Description ====
 
==== Description ====
  
This is similar to the [[FF7/Field/Script/Opcodes/14 IFUW|IFUW]] opcode, but allows for a jump on comparison failure of more than 0xFF bytes.
+
This is similar to the [[FF7/Field/Script/Opcodes/18 IFUW|IFUW]] opcode, but allows for a jump on comparison failure of more than 0xFF bytes.

Revision as of 01:04, 18 August 2006

  • Opcode: 0x19
  • Short name: IFUWL
  • Long name: If (Unsigned Word, Long Jump)

Memory layout

0x19 B A V C 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 UShort E: Amount to jump if the comparison does not hold.

Description

This is similar to the IFUW opcode, but allows for a jump on comparison failure of more than 0xFF bytes.