Enum: odd_opcodeΒΆ

Following is the map of odd_opcode used for telling the Interpreter what to do inside of an Instruction.

Name Value
Nop 0
Label 1
Push 160
Pop 161
Convert 162
Duplicate 163
BOAdd 192
BOSub 193
BOMul 194
BODiv 195
BOMod 196
BOEqual 197
BONotEqual 198
BOGreater 199
BOGreaterEqual 200
BOLessThan 201
BOLessThanEqual 202
BONegate 203
BOOr 204
BOXor 205
BOAnd 206
BOInvert 207
Jump 176
Exit 177
TextRun 178
CommandRun 179
SetVariable 180
CallFunction 181
MakeArray 188
SetArrayIndex 189
PushArrayIndex 190
PushVariable 191
JumpTrue 182
JumpFalse 183
BeginChoice 184
Choice 185
ChoiceTrue 186
ChoiceSelection 187
DebugLine 208

Attention

To use these, you must do odd_opcode.<name>