Mercurial > repos > blastem
changeset 2639:0046305e3fa8
Fix movep with negative displacement
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 26 Feb 2025 20:46:00 -0800 |
parents | f5603b4ee14d |
children | c30e5548154f |
files | m68k.cpu |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/m68k.cpu Wed Feb 26 20:45:40 2025 -0800 +++ b/m68k.cpu Wed Feb 26 20:46:00 2025 -0800 @@ -2453,6 +2453,7 @@ 0000DDD10Z001AAA movep_ay_dx local address 32 m68k_prefetch + sext 32 scratch1 scratch1 scratch1 += aregs.A address = scratch1 + 2 ocall read_8 @@ -2474,6 +2475,7 @@ 0000DDD11Z001AAA movep_dx_ay m68k_prefetch + sext 32 scratch1 scratch1 scratch2 = scratch1 + aregs.A if Z scratch1 = dregs.D >> 24