re: cmpxchg (comment added)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3470
This commit is contained in:
parent
5ce390285d
commit
9de271f04a
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue