Difference between revisions of "FF7/Field/Script/Opcodes/93 XOR"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>BukTop
m (1 revision imported)
(No difference)

Revision as of 12:34, 4 April 2018

  • Opcode: 0x93
  • Short name: XOR
  • Long name: Bitwise XOR (8-bit)

Memory layout

0x93 D/S Dest Oper

Arguments

  • const Bit[4] D: Destination bank
  • const Bit[4] S: Source bank
  • const UByte Dest: Contains an operand of the bitwise XOR and receives the result.
  • const UByte Oper: The second operand of the bitwise XOR.

Description

Performs a bitwise XOR operation between "Dest" and "Oper" and stores the result back into "Dest". If the Source Bank is 0 then the “Oper” is the operand to XOR with. If the Source Bank is an 8 bit bank, then the “Oper” is the address in that bank where the operand is.