fix(cpu): properly decode ldm stm thumb instructions
This commit is contained in:
parent
6ffaf12804
commit
8d1df7ae43
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue