[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Custom lua instruction format
- From: Baozeng <sploving1@...>
- Date: Sun, 7 Jun 2020 10:49:10 +0800
The register is represented by `A`, which is still 8 bits. I have not changed it. Only `B` is changed from 9 bits to 8 bits. and `C` is changed from 9 bits to 8 bits.
So I think it will not affect the registers. Am I right? Thank you in advance.
On Sat, Jun 6, 2020 at 4:09 PM Baozeng wrote:
As we know, Lua instruction format is the opcode with 6 bits, `A` with 8 bits, `B` and `C` with 9 bits (together 32 bits)
I custom opcode with 8 bits, `A` with 8 bits, `B` and `C` with 8 bits.
Does this mean your VM has 127 registers instead of 255?
A function containing 30 local variables and a matrix constructor 50x50 will fail to compile.