POPV (instruction)

From Final Fantasy XII Wiki
Revision as of 08:28, 24 July 2019 by Admin (talk | contribs) (Created page with "{{Instruction|op_name=POPV|op_code=0x49|op_size=3|op_args=0|op_desc=Pop stack into variable}} Pops stack into variable of any type. Casts value if necessary. 16bit immediate...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
POPV size: 3
immediate
args: 0
0x49
Pop stack into variable

Pops stack into variable of any type. Casts value if necessary. 16bit immediate represents a number of entry in script's variable table[1].

If variable is declared as an array, additional arguments representing elements are popped from stack. See: arrays.


  1. For convenience, compiler supports direct variable name usage and converts them into appropriate variable table entry numbers automatically.