enum Ven::Suite::Opcode
Overview
The list of all opcodes.
NOTE Sectioning matters. Please add opcodes to the appropriate sections.
Defined in:
ven/suite/opcode.crEnum Members
-
POP =
16
-
POP2 =
17
-
SWAP =
18
-
TRY_POP =
19
-
DUP =
20
-
TON =
21
-
TOS =
22
-
TOB =
23
-
TOIB =
24
-
TRUE =
25
-
FALSE =
26
-
TOV =
27
-
NEG =
28
-
LEN =
29
-
ENS =
30
-
POP_UPUT =
31
-
TAP_UPUT =
32
-
UPOP =
33
-
UREF =
34
-
CLEAR =
35
-
RET =
36
-
MAP_SETUP =
37
-
MAP_APPEND =
38
-
FALSE_IF_EMPTY =
39
-
FIELD_DYNAMIC =
40
-
RESET_DIES =
41
-
FORCE_RET =
42
-
SETUP_RET =
43
-
ANY =
44
-
BOX_INSTANCE =
45
-
NUM =
128
-
STR =
129
-
VEC =
130
-
PCRE =
131
-
GOTO =
132
-
CALL =
133
-
REDUCE =
134
-
BINARY =
135
-
BINARY_ASSIGN =
136
-
FIELD_IMMEDIATE =
137
-
NEXT_FUN =
138
-
REST =
139
-
J =
512
-
JIT =
513
-
JIF =
514
-
MAP_ITER =
515
-
JIT_ELSE_POP =
516
-
JIF_ELSE_POP =
517
-
SETUP_DIES =
518
-
SYM =
1024
-
POP_ASSIGN =
1025
-
TAP_ASSIGN =
1026
-
INC =
1027
-
DEC =
1028
-
FUN =
2048
-
BOX =
2049
Instance Method Summary
- #any?
- #binary?
- #binary_assign?
- #box?
- #box_instance?
- #call?
- #clear?
- #dec?
- #dup?
- #ens?
- #false?
- #false_if_empty?
- #field_dynamic?
- #field_immediate?
- #force_ret?
- #fun?
- #goto?
- #inc?
- #j?
- #jif?
- #jif_else_pop?
- #jit?
- #jit_else_pop?
- #len?
- #map_append?
- #map_iter?
- #map_setup?
- #neg?
- #next_fun?
- #num?
-
#payload
Returns the kind of payload an instruction takes, or nil if it does not take any.
- #pcre?
- #pop2?
- #pop?
- #pop_assign?
- #pop_uput?
-
#puts_one?
Returns whether this opcode puts exactly one value on the operand stack no matter what, and consumes none.
- #reduce?
- #reset_dies?
- #rest?
- #ret?
- #setup_dies?
- #setup_ret?
- #str?
- #swap?
- #sym?
- #tap_assign?
- #tap_uput?
- #tob?
- #toib?
- #ton?
- #tos?
- #tov?
- #true?
- #try_pop?
- #upop?
- #uref?
- #vec?
Instance Method Detail
def puts_one?
#
Returns whether this opcode puts exactly one value on the operand stack no matter what, and consumes none.