The CALLRTS currently takes 2 bytes - 0x37FF. The second byte is used to encode up to 256 runtime operations. However, if we have a limited number of runtime functions we can use 7 bits to encode up to 128 runtime operations and set 1 bit for the bytecode itself packing the entire operation in 1 byte. Changes need to be made in the assembler.
The CALLRTS currently takes 2 bytes -
0x37FF
. The second byte is used to encode up to 256 runtime operations. However, if we have a limited number of runtime functions we can use 7 bits to encode up to 128 runtime operations and set 1 bit for the bytecode itself packing the entire operation in 1 byte. Changes need to be made in the assembler.