diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-15 22:05:59 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-15 22:05:59 +0100 |
commit | 15ce7787713eab58f5f20da1972dc9a699d46daf (patch) | |
tree | c8aedb9a5d73d282ae25b0f85c878f1878a42beb | |
parent | c24c1d160702f227cede324999bb5fbd15c7f312 (diff) | |
download | ovm-15ce7787713eab58f5f20da1972dc9a699d46daf.tar.gz ovm-15ce7787713eab58f5f20da1972dc9a699d46daf.tar.bz2 ovm-15ce7787713eab58f5f20da1972dc9a699d46daf.zip |
Set register parameter for inst_t to be a byte
We at most have 255 registers, so no need to have a word for it.
-rw-r--r-- | src/inst.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ typedef struct { opcode_t opcode; data_t operand; - word reg; + byte reg; // At most 255 registers } inst_t; #define INST_BPUSH(BYTE) \ |