Difference between revisions of "FF7/WorldMap Module/Script/Opcodes/0e0"

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>BukTop
m (1 revision imported)
m (2 revisions imported)
 
(No difference)

Latest revision as of 05:20, 23 May 2019

  • 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.