From: cuz Date: Wed, 9 Oct 2002 19:39:45 +0000 (+0000) Subject: Add info about more functions X-Git-Tag: V2.12.0~2177 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e5fa9575c7dce0b875b4053f78f0c3a5693eafe;p=cc65 Add info about more functions git-svn-id: svn://svn.cc65.org/cc65/trunk@1455 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/codeinfo.c b/src/cc65/codeinfo.c index 3912dae91..74a704a96 100644 --- a/src/cc65/codeinfo.c +++ b/src/cc65/codeinfo.c @@ -124,18 +124,25 @@ static const FuncInfo FuncInfoTable[] = { { "laddeq", REG_EAXY|REG_PTR1_LO, REG_EAXY | REG_PTR1_HI }, { "laddeq1", REG_Y | REG_PTR1_LO, REG_EAXY | REG_PTR1_HI }, { "laddeqa", REG_AY | REG_PTR1_LO, REG_EAXY | REG_PTR1_HI }, + { "laddeq0sp", REG_EAX, REG_EAXY }, + { "laddeqysp", REG_EAXY, REG_EAXY }, { "ldaidx", REG_AXY, REG_AX | REG_PTR1 }, { "ldauidx", REG_AXY, REG_AX | REG_PTR1 }, { "ldax0sp", REG_NONE, REG_AXY }, { "ldaxi", REG_AX, REG_AXY | REG_PTR1 }, { "ldaxidx", REG_AXY, REG_AXY | REG_PTR1 }, { "ldaxysp", REG_Y, REG_AXY }, + { "ldeax0sp", REG_NONE, REG_EAXY }, + { "ldeaxi", REG_AX, REG_EAXY | REG_PTR1 }, + { "ldeaxidx", REG_AXY, REG_EAXY | REG_PTR1 }, + { "ldeaxysp", REG_Y, REG_EAXY }, { "leaasp", REG_A, REG_AX }, { "lsubeq", REG_EAXY|REG_PTR1_LO, REG_EAXY | REG_PTR1_HI }, { "lsubeq0sp", REG_EAX, REG_EAXY }, { "lsubeq1", REG_Y | REG_PTR1_LO, REG_EAXY | REG_PTR1_HI }, { "lsubeqa", REG_AY | REG_PTR1_LO, REG_EAXY | REG_PTR1_HI }, { "lsubeqysp", REG_EAXY, REG_EAXY }, + { "lsubeq0sp", REG_EAX, REG_EAXY }, { "negax", REG_AX, REG_AX }, { "push0", REG_NONE, REG_AXY }, { "push1", REG_NONE, REG_AXY }, @@ -144,10 +151,12 @@ static const FuncInfo FuncInfoTable[] = { { "push4", REG_NONE, REG_AXY }, { "push5", REG_NONE, REG_AXY }, { "push6", REG_NONE, REG_AXY }, - { "push7", REG_NONE, REG_AXY }, + { "push7", REG_NONE, REG_AXY }, { "pusha", REG_A, REG_Y }, { "pusha0", REG_A, REG_XY }, { "pushax", REG_AX, REG_Y }, + { "pusha0sp", REG_NONE, REG_AY }, + { "pushaysp", REG_Y, REG_AY }, { "pushc0", REG_NONE, REG_A | REG_Y }, { "pushc1", REG_NONE, REG_A | REG_Y }, { "pushc2", REG_NONE, REG_A | REG_Y }, @@ -169,13 +178,17 @@ static const FuncInfo FuncInfoTable[] = { { "staspidx", REG_A | REG_Y, REG_Y | REG_TMP1 | REG_PTR1 }, { "stax0sp", REG_AX, REG_Y }, { "staxysp", REG_AXY, REG_Y }, + { "steax0sp", REG_EAX, REG_Y }, + { "steaxysp", REG_EAXY, REG_Y }, { "subeq0sp", REG_AX, REG_AXY }, { "subeqysp", REG_AXY, REG_AXY }, { "tosadda0", REG_A, REG_AXY }, { "tosaddax", REG_AX, REG_AXY }, - { "tosdiva0", REG_AX, REG_ALL }, - { "tosdivax", REG_AX, REG_ALL }, - { "tosdiveax", REG_EAX, REG_ALL }, + { "tosanda0", REG_A, REG_AXY }, + { "tosandax", REG_AX, REG_AXY }, + { "tosdiva0", REG_AY, REG_ALL }, + { "tosdivax", REG_AXY, REG_ALL }, + { "tosdiveax", REG_EAXY, REG_ALL }, { "toseqeax", REG_EAX, REG_AXY | REG_PTR1 }, { "tosgeeax", REG_EAX, REG_AXY | REG_PTR1 }, { "tosgteax", REG_EAX, REG_AXY | REG_PTR1 },