fix(cpu): properly decode format 7 and 8

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-02-03 01:28:54 -04:00
parent 91384a7c68
commit 6ab4610a81
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ fn thumbPopulate() [0x400]ThumbInstrFn {
lut[i] = format6(rd);
} else if (i >> 6 & 0xF == 0b0101) {
const op = i >> 5 & 0x3;
const op = i >> 4 & 0x3;
const T = i >> 3 & 1 == 1;
lut[i] = format78(op, T);