fix(cpu): properly decode format 7 and 8
This commit is contained in:
parent
91384a7c68
commit
6ab4610a81
|
@ -453,7 +453,7 @@ fn thumbPopulate() [0x400]ThumbInstrFn {
|
||||||
|
|
||||||
lut[i] = format6(rd);
|
lut[i] = format6(rd);
|
||||||
} else if (i >> 6 & 0xF == 0b0101) {
|
} else if (i >> 6 & 0xF == 0b0101) {
|
||||||
const op = i >> 5 & 0x3;
|
const op = i >> 4 & 0x3;
|
||||||
const T = i >> 3 & 1 == 1;
|
const T = i >> 3 & 1 == 1;
|
||||||
|
|
||||||
lut[i] = format78(op, T);
|
lut[i] = format78(op, T);
|
||||||
|
|
Loading…
Reference in New Issue