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:
parent
85b25b3d22
commit
4b80a3b9cd
2 changed files with 12 additions and 1 deletions
|
@ -195,6 +195,7 @@ static const FuncInfo FuncInfoTable[] = {
|
||||||
{ "pushc1", REG_NONE, REG_A | REG_Y },
|
{ "pushc1", REG_NONE, REG_A | REG_Y },
|
||||||
{ "pushc2", REG_NONE, REG_A | REG_Y },
|
{ "pushc2", REG_NONE, REG_A | REG_Y },
|
||||||
{ "pusheax", REG_EAX, REG_Y },
|
{ "pusheax", REG_EAX, REG_Y },
|
||||||
|
{ "pushl0", REG_NONE, REG_AXY },
|
||||||
{ "pushw", REG_AX, REG_AXY | REG_PTR1 },
|
{ "pushw", REG_AX, REG_AXY | REG_PTR1 },
|
||||||
{ "pushw0sp", REG_NONE, REG_AXY },
|
{ "pushw0sp", REG_NONE, REG_AXY },
|
||||||
{ "pushwidx", REG_AXY, REG_AXY | REG_PTR1 },
|
{ "pushwidx", REG_AXY, REG_AXY | REG_PTR1 },
|
||||||
|
@ -228,7 +229,7 @@ static const FuncInfo FuncInfoTable[] = {
|
||||||
{ "steaxysp", REG_EAXY, REG_Y },
|
{ "steaxysp", REG_EAXY, REG_Y },
|
||||||
{ "subeq0sp", REG_AX, REG_AXY },
|
{ "subeq0sp", REG_AX, REG_AXY },
|
||||||
{ "subeqysp", REG_AXY, REG_AXY },
|
{ "subeqysp", REG_AXY, REG_AXY },
|
||||||
{ "subysp", REG_Y, REG_AY },
|
{ "subysp", REG_Y, REG_AY },
|
||||||
{ "tosadd0ax", REG_AX, REG_EAXY | REG_TMP1 },
|
{ "tosadd0ax", REG_AX, REG_EAXY | REG_TMP1 },
|
||||||
{ "tosadda0", REG_A, REG_AXY },
|
{ "tosadda0", REG_A, REG_AXY },
|
||||||
{ "tosaddax", REG_AX, REG_AXY },
|
{ "tosaddax", REG_AX, REG_AXY },
|
||||||
|
|
|
@ -333,6 +333,16 @@ static const CallDesc CallTable [] = {
|
||||||
},
|
},
|
||||||
F_NONE,
|
F_NONE,
|
||||||
"pusha0sp"
|
"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",
|
"pusheax",
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue