1
0
Fork 0

re: cmpxchg (comment added)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3470
This commit is contained in:
Sebastian Strohhäcker 2009-09-25 20:47:15 +00:00
parent 5ce390285d
commit 9de271f04a
2 changed files with 3 additions and 3 deletions

View file

@ -377,7 +377,7 @@
SaveMb(eaa,*rmrb);
SETFLAGBIT(ZF,1);
} else {
SaveMb(eaa,val); //NEEDED ? (val doesn't change
SaveMb(eaa,val); // cmpxchg always issues a write
reg_al = val;
SETFLAGBIT(ZF,0);
}
@ -405,7 +405,7 @@
SaveMw(eaa,*rmrw);
SETFLAGBIT(ZF,1);
} else {
SaveMw(eaa,val);
SaveMw(eaa,val); // cmpxchg always issues a write
reg_ax = val;
SETFLAGBIT(ZF,0);
}

View file

@ -256,7 +256,7 @@
SaveMd(eaa,*rmrd);
SETFLAGBIT(ZF,1);
} else {
SaveMd(eaa,val);
SaveMd(eaa,val); // cmpxchg always issues a write
reg_eax=val;
SETFLAGBIT(ZF,0);
}