aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lopcodes.h b/lopcodes.h
index a155956d..edd88553 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.47 2000/03/09 13:57:37 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.48 2000/03/10 18:37:44 roberto Exp roberto $
3** Opcodes for Lua virtual machine 3** Opcodes for Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -20,8 +20,8 @@
20 type 3: 1st unsigned argument in the higher 16 bits (`A') 20 type 3: 1st unsigned argument in the higher 16 bits (`A')
21 2nd unsigned argument in the middle 8 bits (`B') 21 2nd unsigned argument in the middle 8 bits (`B')
22 22
23 The signed argument is represented in excess 2^23; that is, the Number value 23 The signed argument is represented in excess 2^23; that is, the number
24 is the usigned value minus 2^23. 24 value is the usigned value minus 2^23.
25===========================================================================*/ 25===========================================================================*/
26 26
27#define SIZE_INSTRUCTION 32 27#define SIZE_INSTRUCTION 32
@@ -92,7 +92,7 @@ OP_END,/* - - (return) */
92OP_RETURN,/* U - (return) */ 92OP_RETURN,/* U - (return) */
93 93
94OP_CALL,/* A B v_n-v_1 f(at a) r_b-r_1 f(v1,...,v_n) */ 94OP_CALL,/* A B v_n-v_1 f(at a) r_b-r_1 f(v1,...,v_n) */
95OP_TAILCALL,/* A B v_a-v_1 f (return) f(v1,...,v_a) */ 95OP_TAILCALL,/* A B v_n-v_1 f(at a) (return) f(v1,...,v_n) */
96 96
97OP_PUSHNIL,/* U - nil_1-nil_u */ 97OP_PUSHNIL,/* U - nil_1-nil_u */
98OP_POP,/* U a_u-a_1 - */ 98OP_POP,/* U a_u-a_1 - */
@@ -158,7 +158,7 @@ OP_SETLINE/* U - - LINE=u */
158 158
159 159
160#define RFIELDS_PER_FLUSH 32 /* records (SETMAP) */ 160#define RFIELDS_PER_FLUSH 32 /* records (SETMAP) */
161#define LFIELDS_PER_FLUSH 64 /* FPF - lists (SETLIST) (<=MAXARG_B) */ 161#define LFIELDS_PER_FLUSH 64 /* FPF - lists (SETLIST) (<=MAXARG_B) */
162 162
163 163
164#endif 164#endif