diff options
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.h,v 1.169 2017/11/22 18:41:20 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.170 2017/11/22 19:15: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 | */ |
@@ -242,6 +242,8 @@ OP_LE,/* A B C if ((R(A) <= R(C)) ~= B) then pc++ */ | |||
242 | 242 | ||
243 | OP_EQK,/* A B C if ((R(A) == K(C)) ~= B) then pc++ */ | 243 | OP_EQK,/* A B C if ((R(A) == K(C)) ~= B) then pc++ */ |
244 | OP_EQI,/* A B C if ((R(A) == C) ~= B) then pc++ */ | 244 | OP_EQI,/* A B C if ((R(A) == C) ~= B) then pc++ */ |
245 | OP_LTI,/* A B C if ((R(A) < C) ~= B) then pc++ */ | ||
246 | OP_LEI,/* A B C if ((R(A) <= C) ~= B) then pc++ */ | ||
245 | 247 | ||
246 | OP_TEST,/* A C if not (R(A) <=> C) then pc++ */ | 248 | OP_TEST,/* A C if not (R(A) <=> C) then pc++ */ |
247 | OP_TESTSET,/* A B C if (R(B) <=> C) then R(A) := R(B) else pc++ */ | 249 | OP_TESTSET,/* A B C if (R(B) <=> C) then R(A) := R(B) else pc++ */ |