Difference between revisions of "FF7/Field/Script/Opcodes/17 IFSWL"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
(No difference)
|
Revision as of 01:07, 18 August 2006
- Opcode: 0x17
- Short name: IFSWL
- Long name: If (Signed Word, Long Jump)
Memory layout
0x17 | B | A | V | C | 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 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.