diff options
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.h,v 1.175 2017/11/30 13:16:43 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.176 2017/12/04 17:41:30 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 | */ |
@@ -217,6 +217,10 @@ OP_POWI,/* A B sC R(A) := R(B) ^ C */ | |||
217 | OP_DIVI,/* A B sC R(A) := R(B) / C */ | 217 | OP_DIVI,/* A B sC R(A) := R(B) / C */ |
218 | OP_IDIVI,/* A B sC R(A) := R(B) // C */ | 218 | OP_IDIVI,/* A B sC R(A) := R(B) // C */ |
219 | 219 | ||
220 | OP_BANDK,/* A B C R(A) := R(B) & K(C):integer */ | ||
221 | OP_BORK,/* A B C R(A) := R(B) | K(C):integer */ | ||
222 | OP_BXORK,/* A B C R(A) := R(B) ~ K(C):integer */ | ||
223 | |||
220 | OP_SHRI,/* A B C R(A) := R(B) >> C */ | 224 | OP_SHRI,/* A B C R(A) := R(B) >> C */ |
221 | OP_SHLI,/* A B C R(A) := C << R(B) */ | 225 | OP_SHLI,/* A B C R(A) := C << R(B) */ |
222 | 226 | ||