fix(cpu): properly decode format 7 and 8

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-21 05:12:12 -03:00
parent c8f2db69df
commit 3e786d02ac
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);