From 43fc38c1dec1f941778dafc79b1e03a6303fdbea Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Mon, 14 Apr 2003 11:21:48 +0000 Subject: [PATCH] added CMPSD Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@931 --- src/cpu/core_16/prefix_66.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cpu/core_16/prefix_66.h b/src/cpu/core_16/prefix_66.h index 7174ac20..b24339fa 100644 --- a/src/cpu/core_16/prefix_66.h +++ b/src/cpu/core_16/prefix_66.h @@ -326,6 +326,13 @@ switch(Fetchb()) { else { reg_si+=4;reg_di+=4;} } break; + case 0xa7: /* CMPSD */ + { + stringSI;stringDI; CMPD(to,LoadMd(from),LoadMd,0); + if (GETFLAG(DF)) { reg_si-=4;reg_di-=4; } + else { reg_si+=4;reg_di+=4;} + } + break; case 0xa9: /* TEST EAX,Id */ EAXId(TESTD); break;