diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-01 18:31:11 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-01 18:31:11 +0000 |
commit | cb8b3f3b8c96a44d65cfd5056c8d973750ac7525 (patch) | |
tree | 649581845981621d70d0265e84edd70a066bdb8f /examples/fib.c | |
parent | dab1729f613edcdc7a14e20e728c22c40cdd0966 (diff) | |
download | ovm-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/fib.c')
0 files changed, 0 insertions, 0 deletions