devices working
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user