diff --git a/src/cc65/codeinfo.c b/src/cc65/codeinfo.c index deace1a3b..e5edcca0f 100644 --- a/src/cc65/codeinfo.c +++ b/src/cc65/codeinfo.c @@ -98,7 +98,7 @@ static const FuncInfo FuncInfoTable[] = { { "boolugt", REG_NONE, REG_AX }, { "boolule", REG_NONE, REG_AX }, { "boolult", REG_NONE, REG_AX }, - { "callax", REG_AX, REG_ALL }, + { "callax", REG_AX, REG_ALL }, { "complax", REG_AX, REG_AX }, { "decax1", REG_AX, REG_AX }, { "decax2", REG_AX, REG_AX }, @@ -118,15 +118,15 @@ static const FuncInfo FuncInfoTable[] = { { "decsp6", REG_NONE, REG_A }, { "decsp7", REG_NONE, REG_A }, { "decsp8", REG_NONE, REG_A }, - { "incax1", REG_AX, REG_AXY }, - { "incax2", REG_AX, REG_AXY }, - { "incax3", REG_AX, REG_AXY }, - { "incax4", REG_AX, REG_AXY }, - { "incax5", REG_AX, REG_AXY }, - { "incax6", REG_AX, REG_AXY }, - { "incax7", REG_AX, REG_AXY }, - { "incax8", REG_AX, REG_AXY }, - { "incaxy", REG_AX, REG_AXY }, + { "incax1", REG_AX, REG_AX }, + { "incax2", REG_AX, REG_AX }, + { "incax3", REG_AX, REG_AXY | REG_TMP1 }, + { "incax4", REG_AX, REG_AXY | REG_TMP1 }, + { "incax5", REG_AX, REG_AXY | REG_TMP1 }, + { "incax6", REG_AX, REG_AXY | REG_TMP1 }, + { "incax7", REG_AX, REG_AXY | REG_TMP1 }, + { "incax8", REG_AX, REG_AXY | REG_TMP1 }, + { "incaxy", REG_AXY, REG_AXY | REG_TMP1 }, { "incsp1", REG_NONE, REG_NONE }, { "incsp2", REG_NONE, REG_Y }, { "incsp3", REG_NONE, REG_Y },