devices working

This commit is contained in:
2026-07-16 14:05:01 +10:00
parent 42fab467f1
commit fb3efc77c3
7 changed files with 123 additions and 25 deletions

View File

@@ -71,6 +71,7 @@ Instruction decodeInstruction(Memory* m, uint32_t* pc) {
uint8_t offset = 0;
for (uint8_t i = 0; i < 3; i++) {
switch (opTypes[i]) {
case OP_IMM4:
case OP_REG: {
// get the data at the current offset, and grab the 4 bits that are there with a bitwise
// "and" operator