e2k: Fix address generation in mova instrs.

This commit is contained in:
Denis Drakhnia 2021-01-06 16:45:15 +02:00 committed by Denis Drakhnia
parent 999c27999d
commit dae0735e36

View File

@ -52,7 +52,7 @@ target_ulong HELPER(mova_ptr)(CPUE2KState *env, int chan, int area)
E2KAauPrefInstr instr = as->pi;
E2KAad aad = env->aau.ds[instr.aad];
return aad.base + as->cdi;
return aad.base + as->cdi + instr.disp;
}
void HELPER(aau_am)(CPUE2KState *env, int chan, int area)