fix(cpu): properly decode format 7 and 8
This commit is contained in:
parent
c8f2db69df
commit
3e786d02ac
|
@ -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