aboutsummaryrefslogtreecommitdiff
path: root/examples/instruction-test.asm
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 18:31:11 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 18:31:11 +0000
commitcb8b3f3b8c96a44d65cfd5056c8d973750ac7525 (patch)
tree649581845981621d70d0265e84edd70a066bdb8f /examples/instruction-test.asm
parentdab1729f613edcdc7a14e20e728c22c40cdd0966 (diff)
downloadovm-cb8b3f3b8c96a44d65cfd5056c8d973750ac7525.tar.gz
ovm-cb8b3f3b8c96a44d65cfd5056c8d973750ac7525.tar.bz2
ovm-cb8b3f3b8c96a44d65cfd5056c8d973750ac7525.zip
Fix off by one issues in register implementations
word register 0 refers to the first 8 bytes of the dynamic array. Hence the used counter should be at least 8 bytes. This deals with those issues. Also print more useful information in vm_print_registers (how many byte|hword|word registers are currently in use, how many are available).
Diffstat (limited to 'examples/instruction-test.asm')
0 files changed, 0 insertions, 0 deletions