Changes
Jump to navigation
Jump to search
For unary operation (MIN and NOT):<br>..., ''value1'' => ..., ''result''=== Description ====
==== Description ====Calculate ''value1'' '''Argument''' ''value2'' and push the ''result'' into the stack. Possible values for '''Argument'''<nowiki>: </nowiki>
Calculate ''value1'' '''Argument''' ''value2'' and push the ''result'' into the stack. Possible values for '''Argument''': [[FF8/Field/Script/Opcodes/001 CAL001_CAL/000 ADD000_ADD|000 ADD]] : Addition [[FF8/Field/Script/Opcodes/001 CAL001_CAL/001 SUB001_SUB|001 SUB]] : Subtraction [[FF8/Field/Script/Opcodes/001 CAL001_CAL/002 MUL002_MUL|002 MUL]] : Multiplication [[FF8/Field/Script/Opcodes/001 CAL001_CAL/003 DIV003_DIV|003 DIV]] : Division [[FF8/Field/Script/Opcodes/001 CAL001_CAL/004 MOD004_MOD|004 MOD]] : Modulo [[FF8/Field/Script/Opcodes/001 CAL001_CAL/005 MIN005_MIN|005 MIN]] : NegateMinus [[FF8/Field/Script/Opcodes/001 CAL001_CAL/006 EQ006_EQ|006 EQ]] : Equal [[FF8/Field/Script/Opcodes/001 CAL001_CAL/007 GT007_GT|007 GT]] : Greater [[FF8/Field/Script/Opcodes/001 CAL001_CAL/008 GE008_GE|008 GE]] : Greater or Equal [[FF8/Field/Script/Opcodes/001 CAL001_CAL/009 LS009_LS|009 LS]] : Less [[FF8/Field/Script/Opcodes/001 CAL001_CAL/00A LE00A_LE|00A LE]] : Less or Equal [[FF8/Field/Script/Opcodes/001 CAL001_CAL/00B NT00B_NT|00B NT]] : Not Equal [[FF8/Field/Script/Opcodes/001 CAL001_CAL/00C AND00C_AND|00C AND]] : And [[FF8/Field/Script/Opcodes/001 CAL001_CAL/00D OR00D_OR|00D OR]] : Or [[FF8/Field/Script/Opcodes/001 CAL001_CAL/00E EOR00E_EOR|00E EOR]] : Exclusive Or [[FF8/Field/Script/Opcodes/001 CAL/00F NOT|00F NOT]] : Bitwise not
Created page with "* Opcode: '''0x01''' * Short name: '''CAL''' * Long name: Calculate ==== Argument ==== Operation to perform (see description). ==== Stack ==== ..., ''value1'', ''value..."
* Long name: Calculate
==== Argument ====
Operation to perform (see description).
==== Stack ====
..., ''value1'', ''value2'' => ..., ''result''