aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 95b5b373..5852233e 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.97 2002/05/13 13:09:00 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.98 2002/06/06 18:17:33 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*/
@@ -158,7 +158,10 @@ OP_CONCAT,/* A B C R(A) := R(B).. ... ..R(C) */
158OP_JMP,/* sBx PC += sBx */ 158OP_JMP,/* sBx PC += sBx */
159 159
160OP_EQ,/* A B C if ((R(A) == R/K(C)) ~= B) then pc++ */ 160OP_EQ,/* A B C if ((R(A) == R/K(C)) ~= B) then pc++ */
161OP_CMP,/* A B C if not (R(A) <B> R/K(C)) then pc++ (see note) */ 161OP_LT,/* A B C if ((R(A) < R/K(C)) ~= B) then pc++ */
162OP_LE,/* A B C if ((R(A) <= R/K(C)) ~= B) then pc++ */
163OP_GT,/* A B C if ((R(A) > R/K(C)) ~= B) then pc++ */
164OP_GE,/* A B C if ((R(A) >= R/K(C)) ~= B) then pc++ */
162 165
163OP_TEST,/* A B C if (R(C) <=> B) then R(A) := R(C) else pc++ */ 166OP_TEST,/* A B C if (R(C) <=> B) then R(A) := R(C) else pc++ */
164 167