]> git.sur5r.net Git - cc65/commitdiff
The shift long by 4 functions do also destroy Y.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 29 Aug 2009 20:14:20 +0000 (20:14 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 29 Aug 2009 20:14:20 +0000 (20:14 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4076 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/codeinfo.c

index c88451d5956566941ef2d92281a5a1fdcfb04df8..39f111a3c35dba87b36c8800714c908cea604840 100644 (file)
@@ -88,15 +88,15 @@ static const FuncInfo FuncInfoTable[] = {
     { "asleax1",        REG_EAX,              REG_EAX | REG_TMP1                    },
     { "asleax2",        REG_EAX,              REG_EAX | REG_TMP1            },
     { "asleax3",        REG_EAX,              REG_EAX | REG_TMP1            },
-    { "asleax4",        REG_EAX,              REG_EAX | REG_TMP1            },
-    { "asrax1",         REG_AX,                      REG_AX | REG_TMP1              },
-    { "asrax2",         REG_AX,                      REG_AX | REG_TMP1              },
-    { "asrax3",         REG_AX,                      REG_AX | REG_TMP1              },
-    { "asrax4",         REG_AX,                      REG_AX | REG_TMP1              },
+    { "asleax4",        REG_EAX,              REG_EAXY | REG_TMP1           },
+    { "asrax1",         REG_AX,                      REG_AX | REG_TMP1              },
+    { "asrax2",         REG_AX,                      REG_AX | REG_TMP1              },
+    { "asrax3",         REG_AX,                      REG_AX | REG_TMP1              },
+    { "asrax4",         REG_AX,                      REG_AX | REG_TMP1              },
     { "asreax1",        REG_EAX,              REG_EAX | REG_TMP1                    },
-    { "asreax2",        REG_EAX,              REG_EAX | REG_TMP1            },
-    { "asreax3",        REG_EAX,              REG_EAX | REG_TMP1            },
-    { "asreax4",        REG_EAX,              REG_EAX | REG_TMP1            },
+    { "asreax2",        REG_EAX,              REG_EAX | REG_TMP1            },
+    { "asreax3",        REG_EAX,              REG_EAX | REG_TMP1            },
+    { "asreax4",        REG_EAX,              REG_EAXY | REG_TMP1                   },
     { "bnega",          REG_A,                REG_AX                        },
     { "bnegax",         REG_AX,               REG_AX                        },
     { "bnegeax",        REG_EAX,              REG_EAX                       },
@@ -104,7 +104,7 @@ static const FuncInfo FuncInfoTable[] = {
     { "boolge",                REG_NONE,             REG_AX                         },
     { "boolgt",                REG_NONE,             REG_AX                         },
     { "boolle",                REG_NONE,             REG_AX                         },
-    { "boollt",                REG_NONE,             REG_AX                         },
+    { "boollt",                REG_NONE,             REG_AX                         },
     { "boolne",                REG_NONE,             REG_AX                         },
     { "booluge",               REG_NONE,             REG_AX                         },
     { "boolugt",               REG_NONE,             REG_AX                         },
@@ -210,7 +210,7 @@ static const FuncInfo FuncInfoTable[] = {
     { "shleax1",        REG_EAX,                     REG_EAX | REG_TMP1             },
     { "shleax2",        REG_EAX,                     REG_EAX | REG_TMP1             },
     { "shleax3",        REG_EAX,                     REG_EAX | REG_TMP1             },
-    { "shleax4",        REG_EAX,                     REG_EAX | REG_TMP1             },
+    { "shleax4",        REG_EAX,                     REG_EAXY | REG_TMP1            },
     { "shrax1",         REG_AX,               REG_AX | REG_TMP1                     },
     { "shrax2",         REG_AX,               REG_AX | REG_TMP1                     },
     { "shrax3",         REG_AX,               REG_AX | REG_TMP1                     },
@@ -218,7 +218,7 @@ static const FuncInfo FuncInfoTable[] = {
     { "shreax1",        REG_EAX,              REG_EAX | REG_TMP1                    },
     { "shreax2",        REG_EAX,              REG_EAX | REG_TMP1            },
     { "shreax3",        REG_EAX,              REG_EAX | REG_TMP1            },
-    { "shreax4",        REG_EAX,              REG_EAX | REG_TMP1            },
+    { "shreax4",        REG_EAX,              REG_EAXY | REG_TMP1                   },
     { "staspidx",       REG_A | REG_Y,        REG_Y | REG_TMP1 | REG_PTR1    },
     { "stax0sp",        REG_AX,               REG_Y                         },
     { "staxspidx",      REG_AXY,              REG_TMP1 | REG_PTR1            },