The opcode is made up of 7 bits, but there are 8 bits(including MM) for luaP_opmodes on Lua5.4.1 (no MM on Lua 5.1).
The opcode is made up of 7 bits.
But there are 8 bits(including MM) for luaP_opmodes on Lua5.4.1 and 7
bits on Lua5.1(no MM).
What are the functions of the MM?
Does this bit belong to opcode?
I would be grateful to have some help with this question.
Thank you for your attention to my question.
Here are the related code snippets:
We assume that instructions are unsigned 32-bit integers.
All instructions have an opcode in the first 7 bits.
Instructions can have the following formats: