1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00

Added new pushl0 runtime function.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5706 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-06-10 19:23:15 +00:00
parent 85b25b3d22
commit 4b80a3b9cd
2 changed files with 12 additions and 1 deletions

View File

@ -195,6 +195,7 @@ static const FuncInfo FuncInfoTable[] = {
{ "pushc1", REG_NONE, REG_A | REG_Y },
{ "pushc2", REG_NONE, REG_A | REG_Y },
{ "pusheax", REG_EAX, REG_Y },
{ "pushl0", REG_NONE, REG_AXY },
{ "pushw", REG_AX, REG_AXY | REG_PTR1 },
{ "pushw0sp", REG_NONE, REG_AXY },
{ "pushwidx", REG_AXY, REG_AXY | REG_PTR1 },
@ -228,7 +229,7 @@ static const FuncInfo FuncInfoTable[] = {
{ "steaxysp", REG_EAXY, REG_Y },
{ "subeq0sp", REG_AX, REG_AXY },
{ "subeqysp", REG_AXY, REG_AXY },
{ "subysp", REG_Y, REG_AY },
{ "subysp", REG_Y, REG_AY },
{ "tosadd0ax", REG_AX, REG_EAXY | REG_TMP1 },
{ "tosadda0", REG_A, REG_AXY },
{ "tosaddax", REG_AX, REG_AXY },

View File

@ -333,6 +333,16 @@ static const CallDesc CallTable [] = {
},
F_NONE,
"pusha0sp"
},{
"pusheax",
{
/* A X Y SRegLo */
0, 0, UNKNOWN_REGVAL, 0,
/* SRegHi Ptr1Lo Ptr1Hi Tmp1 */
0, UNKNOWN_REGVAL, UNKNOWN_REGVAL, UNKNOWN_REGVAL
},
F_NONE,
"pushl0"
},{
"pusheax",
{