diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-05-06 14:10:46 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-05-06 14:10:46 -0400 |
commit | 11c8d71babb0210d070dd6ab12a255a5fa3159a5 (patch) | |
tree | bdd895bb0f6a148445178f46cd67274ca570ca10 /opcode.h | |
parent | 9ccba5e624319becd9a85822e60b15b6355f19cd (diff) |
Removed some duplicate code in the assembler, and made
the processor status register, a union now.
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ union reg { }; struct sux { - uint64_t ps; /* The processor status register. */ + union reg ps; /* The processor status register. */ uint64_t a[8], b[8], y[8], x[8]; /* Registers A, B, X, and Y. */ uint64_t pc[8]; /* Program counter. */ uint16_t sp[8]; /* Stack pointer. */ |