1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00

Fixed a bug, added info for more runtime routines

git-svn-id: svn://svn.cc65.org/cc65/trunk@989 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-10-01 15:22:48 +00:00
parent 91dac51780
commit ab692b8de8

View 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,