mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Implemented logical && and ||
This commit is contained in:
@@ -50,6 +50,10 @@ typedef enum Opcode {
|
||||
OP_COMPARE_GREATER_EQUAL,
|
||||
OP_INVERT, //for booleans
|
||||
|
||||
//logical operators
|
||||
OP_AND,
|
||||
OP_OR,
|
||||
|
||||
//jumps, and conditional jumps (absolute)
|
||||
OP_JUMP,
|
||||
OP_IF_FALSE_JUMP,
|
||||
|
||||
Reference in New Issue
Block a user