FF7/WorldMap Module/Script/Opcodes/0e0

From Final Fantasy Inside
Jump to navigation Jump to search
  • Opcode: 0x0e0
  • Name: write bank
  • Two-word opcode: No

Parameters

Location Name Description
Stack Bank Address Bank location to write to
Stack Value Value to write

Notes

Bank Address should be pushed as a normal bank access instruction, the location that would be accessed will instead be overwritten with the specified value. It is possible to write to a single bit, a byte or a word by changing the bank address to the desired format.