e2k: Fix address generation in mova instrs.
This commit is contained in:
parent
999c27999d
commit
dae0735e36
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user