Difference between revisions of "OPLOR (instruction)"

From Final Fantasy XII Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
Pops 2 arguments from the stack, performs logical OR operation and '''pushes the result onto stack'''.
 
Pops 2 arguments from the stack, performs logical OR operation and '''pushes the result onto stack'''.
 +
 +
{{Clear}}
  
 
In c-like syntax:<syntaxhighlight lang="c++">
 
In c-like syntax:<syntaxhighlight lang="c++">

Latest revision as of 20:25, 16 July 2019

OPLOR size: 1
args: 2
0x05
Logical OR (disjunction)

Pops 2 arguments from the stack, performs logical OR operation and pushes the result onto stack.


In c-like syntax:

(value1 || value2)

Example assembler usage:

PUSHV value1
PUSHV value2
OPLOR
POPXNCJMP jmp_label