From b8facd7f1e1ad7daf6b8e319b9559a2059011746 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 17 Nov 2001 11:27:48 +0000 Subject: [PATCH] Added info for more runtime routines git-svn-id: svn://svn.cc65.org/cc65/trunk@1122 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/codeinfo.c | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/src/cc65/codeinfo.c b/src/cc65/codeinfo.c index 2d1fe9f7f..5e39b7671 100644 --- a/src/cc65/codeinfo.c +++ b/src/cc65/codeinfo.c @@ -94,6 +94,7 @@ static const FuncInfo FuncInfoTable[] = { { "decax7", REG_AX, REG_AX }, { "decax8", REG_AX, REG_AX }, { "decaxy", REG_AXY, REG_AX | REG_TMP1 }, + { "deceaxy", REG_EAXY, REG_EAX }, { "decsp1", REG_NONE, REG_Y }, { "decsp2", REG_NONE, REG_A }, { "decsp3", REG_NONE, REG_A }, @@ -122,6 +123,11 @@ static const FuncInfo FuncInfoTable[] = { { "ldaxidx", REG_AXY, REG_AXY | REG_PTR1 }, { "ldaxysp", REG_Y, REG_AXY }, { "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 }, { "negax", REG_AX, REG_AX }, { "pusha", REG_A, REG_Y }, { "pusha0", REG_A, REG_XY }, @@ -142,26 +148,31 @@ static const FuncInfo FuncInfoTable[] = { { "shreax3", REG_EAX, REG_AX | REG_TMP1 }, { "shreax4", REG_EAX, REG_AX | REG_TMP1 }, { "staspidx", REG_A | REG_Y, REG_Y | REG_TMP1 | REG_PTR1 }, - { "stax0sp", REG_AX, REG_Y }, - { "staxysp", REG_AXY, REG_Y }, + { "stax0sp", REG_AX, REG_Y }, + { "staxysp", REG_AXY, REG_Y }, + { "subeq0sp", REG_AX, REG_AXY }, + { "subeqysp", REG_AXY, REG_AXY }, { "tsteax", REG_EAX, REG_Y }, { "tosadda0", REG_A, REG_AXY }, { "tosaddax", REG_AX, REG_AXY }, { "tosicmp", REG_AX, REG_AXY | REG_SREG }, - { "tosdiva0", REG_AX, REG_ALL }, - { "tosdivax", REG_AX, REG_ALL }, - { "tosdiveax", REG_EAX, REG_ALL }, + { "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 }, + { "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 }, + { "tossuba0", REG_A, REG_AXY }, + { "tossubax", REG_AX, REG_AXY }, + { "tossubeax", REG_EAX, REG_EAXY }, { "tosugeeax", REG_EAX, REG_AXY | REG_PTR1 }, { "tosugteax", REG_EAX, REG_AXY | REG_PTR1 }, { "tosuleeax", REG_EAX, REG_AXY | REG_PTR1 }, -- 2.39.5