Closed HopeDevote closed 1 month ago
The virtual machine only considers registers that are written to when calculating the register requirements. It seems you have added registers (s25...) that are only written to but never read from. I would argue this contradicts the idea of the bytecode.
Hello, sorry to bother you
When I legally added the asm_open instruction(line 3:vasm_open 7, 3, True, c4(7), s25(7) # 1 ) to the instruction set of the bc file
run ./emulate.x test_array_muls the VM crashed
Fatal error: vector::_M_range_check: __n (which is 16) >= this->size() (which is 16)
Is this a bug or expected behavior?
Thanks!