fix(cpu): properly decode ldm stm thumb instructions

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-01-30 01:12:34 -04:00
parent 6ffaf12804
commit 8d1df7ae43
1 changed files with 1 additions and 1 deletions

View File

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