From 7736aac1e25ee183310e232c7addc69cbb2d05d4 Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 16 Apr 2006 21:35:24 +0000 Subject: [PATCH] Added more info about internal (builtin) functions git-svn-id: svn://svn.cc65.org/cc65/trunk@3731 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/codeinfo.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/cc65/codeinfo.c b/src/cc65/codeinfo.c index e5edcca0f..fb6bea667 100644 --- a/src/cc65/codeinfo.c +++ b/src/cc65/codeinfo.c @@ -174,7 +174,7 @@ static const FuncInfo FuncInfoTable[] = { { "pusha", REG_A, REG_Y }, { "pusha0", REG_A, REG_XY }, { "pusha0sp", REG_NONE, REG_AY }, - { "pushaff", REG_AX, REG_Y }, + { "pushaFF", REG_A, REG_Y }, { "pushax", REG_AX, REG_Y }, { "pushaysp", REG_Y, REG_AY }, { "pushc0", REG_NONE, REG_A | REG_Y }, @@ -188,6 +188,8 @@ static const FuncInfo FuncInfoTable[] = { { "regswap", REG_AXY, REG_AXY | REG_TMP1 }, { "regswap1", REG_XY, REG_A }, { "regswap2", REG_XY, REG_A | REG_Y }, + { "return0", REG_NONE, REG_AX }, + { "return1", REG_NONE, REG_AX }, { "shlax1", REG_AX, REG_AX | REG_TMP1 }, { "shlax2", REG_AX, REG_AX | REG_TMP1 }, { "shlax3", REG_AX, REG_AX | REG_TMP1 }, @@ -257,9 +259,21 @@ static const FuncInfo FuncInfoTable[] = { { "tossuba0", REG_A, REG_AXY }, { "tossubax", REG_AX, REG_AXY }, { "tossubeax", REG_EAX, REG_EAXY }, + { "tosuge00", REG_NONE, REG_AXY | REG_SREG }, + { "tosugea0", REG_A, REG_AXY | REG_SREG }, + { "tosugeax", REG_AX, REG_AXY | REG_SREG }, { "tosugeeax", REG_EAX, REG_AXY | REG_PTR1 }, + { "tosugt00", REG_NONE, REG_AXY | REG_SREG }, + { "tosugta0", REG_A, REG_AXY | REG_SREG }, + { "tosugtax", REG_AX, REG_AXY | REG_SREG }, { "tosugteax", REG_EAX, REG_AXY | REG_PTR1 }, + { "tosule00", REG_NONE, REG_AXY | REG_SREG }, + { "tosulea0", REG_A, REG_AXY | REG_SREG }, + { "tosuleax", REG_AX, REG_AXY | REG_SREG }, { "tosuleeax", REG_EAX, REG_AXY | REG_PTR1 }, + { "tosult00", REG_NONE, REG_AXY | REG_SREG }, + { "tosulta0", REG_A, REG_AXY | REG_SREG }, + { "tosultax", REG_AX, REG_AXY | REG_SREG }, { "tosulteax", REG_EAX, REG_AXY | REG_PTR1 }, { "tosumula0", REG_AX, REG_ALL }, { "tosumulax", REG_AX, REG_ALL }, -- 2.39.5