]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug, added info for more runtime routines
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 1 Oct 2001 15:22:48 +0000 (15:22 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 1 Oct 2001 15:22:48 +0000 (15:22 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@989 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/codeinfo.c

index 8592e32c8b1426d10f2fca66f16e004b65bfe6ef..cd9b4543871eaab47f5dc9afe8c1b8a0a224b200 100644 (file)
@@ -119,7 +119,7 @@ static const FuncInfo FuncInfoTable[] = {
     { "ldauidx",        REG_AXY,              REG_AX | REG_PTR1                     },
     { "ldax0sp",               REG_Y,                REG_AX                         },
     { "ldaxi",          REG_AX,               REG_AXY | REG_PTR1            },
-    { "ldaxidx",        REG_AXY,              REG_AX | REG_PTR1                     },
+    { "ldaxidx",        REG_AXY,              REG_AXY | REG_PTR1                    },
     { "ldaxysp",               REG_Y,                REG_AX                         },
     { "leaasp",         REG_A,                REG_AX                        },
     { "negax",          REG_AX,               REG_AX                        },
@@ -150,10 +150,21 @@ static const FuncInfo FuncInfoTable[] = {
     { "tosdiva0",       REG_AX,                      REG_ALL                        },
     { "tosdivax",       REG_AX,                      REG_ALL                        },
     { "tosdiveax",      REG_EAX,                     REG_ALL                        },
+    { "toseqeax",       REG_EAX,                     REG_AXY | REG_PTR1             },
+    { "tosgeeax",       REG_EAX,                     REG_AXY | REG_PTR1             },
+    { "tosgteax",       REG_EAX,                     REG_AXY | REG_PTR1             },
+    { "toslcmp",        REG_EAX,                     REG_A | REG_Y | REG_PTR1       },
+    { "tosleeax",       REG_EAX,                     REG_AXY | REG_PTR1             },
+    { "toslteax",       REG_EAX,                     REG_AXY | REG_PTR1             },
     { "tosmula0",       REG_AX,                      REG_ALL                        },
     { "tosmulax",       REG_AX,                      REG_ALL                        },
     { "tosmuleax",      REG_EAX,                     REG_ALL                        },
+    { "tosneeax",       REG_EAX,                     REG_AXY | REG_PTR1             },
     { "tosshreax",      REG_EAX,                     REG_EAXY | REG_PTR1 | REG_PTR2 },
+    { "tosugeeax",      REG_EAX,                     REG_AXY | REG_PTR1             },
+    { "tosugteax",      REG_EAX,                     REG_AXY | REG_PTR1             },
+    { "tosuleeax",      REG_EAX,                     REG_AXY | REG_PTR1             },
+    { "tosulteax",      REG_EAX,                     REG_AXY | REG_PTR1             },
     { "tosumula0",      REG_AX,                      REG_ALL                        },
     { "tosumulax",      REG_AX,                      REG_ALL                        },
     { "tosumuleax",     REG_EAX,                     REG_ALL                        },
@@ -438,7 +449,7 @@ static unsigned GetRegInfo2 (CodeSeg* S,
 }
 
 
-                                
+
 static unsigned GetRegInfo1 (CodeSeg* S,
                             CodeEntry* E,
                             int Index,