From: cuz Date: Mon, 1 Oct 2001 15:22:48 +0000 (+0000) Subject: Fixed a bug, added info for more runtime routines X-Git-Tag: V2.12.0~2598 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab692b8de8e2ccca790562c24c0f31a2142d6a82;p=cc65 Fixed a bug, added info for more runtime routines git-svn-id: svn://svn.cc65.org/cc65/trunk@989 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/codeinfo.c b/src/cc65/codeinfo.c index 8592e32c8..cd9b45438 100644 --- a/src/cc65/codeinfo.c +++ b/src/cc65/codeinfo.c @@ -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,