summaryrefslogtreecommitdiff
path: root/copt/rules.86
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1997-05-09 19:36:29 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:39:48 +0200
commite63c244cb22bf48ca1d2695784a072269d19ea96 (patch)
tree45b9018259f43db629b27395783cf48e55a85eee /copt/rules.86
parent4c36e9a0c125ccfff37aa440dab2cf58c4152fff (diff)
downloaddev86-e63c244cb22bf48ca1d2695784a072269d19ea96.tar.gz
Import Dev86src-0.12.0.tar.gzv0.12.0
Diffstat (limited to 'copt/rules.86')
-rw-r--r--copt/rules.8621
1 files changed, 11 insertions, 10 deletions
diff --git a/copt/rules.86 b/copt/rules.86
index d4fe131..b4030cd 100644
--- a/copt/rules.86
+++ b/copt/rules.86
@@ -2,10 +2,9 @@
# Rules for loading short variables
-# Chad says this one (I think) is broken
-# mov %0$0[%2],%3
-# =
-# mov %0[%2],%3
+mov %0$0[%2],%3
+=
+mov %0[%2],%3
mov %2,%[ax|bx|cx|dx]1
mov %[ax|bx|cx|dx]1,%2
@@ -131,12 +130,14 @@ stosb
# Rules for manipulating short values
-mov %[ax|bx]2,%1
-%[add|and|xor|sub|or]4 %[ax|bx]2,%3
-mov %1,%[ax|bx]2
-=
-mov %2,%3
-%4 %1,%2
+# This is the broken rule - Chad
+
+#mov %[ax|bx]2,%1
+#%[add|and|xor|sub|or]4 %[ax|bx]2,%3
+#mov %1,%[ax|bx]2
+#=
+#mov %2,%3
+#%4 %1,%2
mov %[ax|bx]2,%1
%[add|and|xor|or]4 %[ax|bx]2,%3