diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-09-19 15:38:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-09-19 15:38:14 -0300 |
commit | abb17cf19bf7328a394f1758542172c4b4dbb539 (patch) | |
tree | 2dce52a3922e5772aca093b53442e7220d24634f /lopcodes.h | |
parent | e0c0e2ee14f519ad33429533f87519753f07051a (diff) | |
download | lua-abb17cf19bf7328a394f1758542172c4b4dbb539.tar.gz lua-abb17cf19bf7328a394f1758542172c4b4dbb539.tar.bz2 lua-abb17cf19bf7328a394f1758542172c4b4dbb539.zip |
new opcode OP_LOADF (load immediate float)
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lopcodes.h,v 1.158 2017/09/15 14:19:06 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.159 2017/09/18 16:07:54 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 | */ |
@@ -175,6 +175,7 @@ name args description | |||
175 | ------------------------------------------------------------------------*/ | 175 | ------------------------------------------------------------------------*/ |
176 | OP_MOVE,/* A B R(A) := R(B) */ | 176 | OP_MOVE,/* A B R(A) := R(B) */ |
177 | OP_LOADI,/* A sBx R(A) := sBx */ | 177 | OP_LOADI,/* A sBx R(A) := sBx */ |
178 | OP_LOADF,/* A sBx R(A) := (lua_Number)sBx */ | ||
178 | OP_LOADK,/* A Bx R(A) := Kst(Bx) */ | 179 | OP_LOADK,/* A Bx R(A) := Kst(Bx) */ |
179 | OP_LOADKX,/* A R(A) := Kst(extra arg) */ | 180 | OP_LOADKX,/* A R(A) := Kst(extra arg) */ |
180 | OP_LOADBOOL,/* A B C R(A) := (Bool)B; if (C) pc++ */ | 181 | OP_LOADBOOL,/* A B C R(A) := (Bool)B; if (C) pc++ */ |