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.
This commit is contained in:
2023-10-15 22:05:59 +01:00
parent c24c1d1607
commit 15ce778771

View File

@@ -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) \