fix(cpu): properly decode ldm stm thumb instructions

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-21 05:12:07 -03:00
parent 980e4ff5dd
commit eabf787305
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ fn thumbPopulate() [0x400]ThumbInstrFn {
if (i >> 6 & 0xF == 0b1100) { if (i >> 6 & 0xF == 0b1100) {
const L = i >> 5 & 1 == 1; const L = i >> 5 & 1 == 1;
const rb = i >> 2 & 0x3; const rb = i >> 2 & 0x7;
lut[i] = format15(L, rb); lut[i] = format15(L, rb);
} }