summaryrefslogtreecommitdiff
path: root/bcc/softop.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/softop.c')
-rw-r--r--bcc/softop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bcc/softop.c b/bcc/softop.c
index dcfa8ae..a3938b3 100644
--- a/bcc/softop.c
+++ b/bcc/softop.c
@@ -222,9 +222,11 @@ struct symstruct *target;
if (uflag)
call("idiv_");
else {
+#ifdef I80386
if (i386_32)
outnop1str("cdq");
else
+#endif
outnop1str("cwd");
outop2str("idiv\t");
outregname(INDREG0);