summaryrefslogtreecommitdiff
path: root/bcc/codefrag.c
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1998-02-12 22:41:49 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:40:21 +0200
commit2f828530e36a02c5b4c534e42ab812370c2bf7d9 (patch)
treec26ea035d122f5374ed4c9ef39c6748742541ef5 /bcc/codefrag.c
parent48f0b3eb836162d41622cedc1eb5f5168168fb8e (diff)
downloaddev86-2f828530e36a02c5b4c534e42ab812370c2bf7d9.tar.gz
Import Dev86src-0.14.0.tar.gzv0.14.0
Diffstat (limited to 'bcc/codefrag.c')
-rw-r--r--bcc/codefrag.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bcc/codefrag.c b/bcc/codefrag.c
index e4359bb..e7961ce 100644
--- a/bcc/codefrag.c
+++ b/bcc/codefrag.c
@@ -1325,6 +1325,12 @@ store_pt reg;
fastin_t mulsp;
int stackentry; /* signed */
+#ifdef I8088
+ /* Now using imul directly so don't be so keen to shift */
+ if( factor > 16 && factor != 32 && factor != 64 && factor != 0xFFFFFFFFL )
+ return FALSE;
+#endif
+
if (factor == 0)
{
clr(reg);