FF8/Field/Script/Opcodes/001 CAL

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Revision as of 17:52, 8 February 2012 by my_wiki>Myst6re
Jump to navigation Jump to search
  • Opcode: 0x01
  • Short name: CAL
  • Long name: Calculate

Argument

Operation to perform (see description).

Stack

..., value1, value2 => ..., result

Description

Calculate value1 Argument value2 and push the result into the stack.

000 ADD
001 SUB
002 MUL
003 MOD
004 DIV
005 MIN
006 EQ
007 GT
008 GE
009 LS
00A LE
00B NT
00C AND
00D OR
00E EOR