1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00

+cc65 inline asm stp mnemonic support

This commit is contained in:
marko.lauke 2020-03-13 00:42:27 +01:00 committed by greg-king5
parent a53bd345d8
commit 68ff89ba0a
3 changed files with 11 additions and 0 deletions

View File

@ -615,6 +615,9 @@ void CE_GenRegInfo (CodeEntry* E, RegContents* InputRegs)
case OP65_BRK: case OP65_BRK:
break; break;
case OP65_STP:
break;
case OP65_BVC: case OP65_BVC:
break; break;

View File

@ -502,6 +502,13 @@ const OPCDesc OPCTable[OP65_COUNT] = {
REG_NONE, /* chg */ REG_NONE, /* chg */
OF_STORE /* flags */ OF_STORE /* flags */
}, },
{ OP65_STP, /* opcode */
"stp", /* mnemonic */
1, /* size */
REG_NONE, /* use */
REG_NONE, /* chg */
OF_NONE /* flags */
},
{ OP65_STX, /* opcode */ { OP65_STX, /* opcode */
"stx", /* mnemonic */ "stx", /* mnemonic */
0, /* size */ 0, /* size */

View File

@ -114,6 +114,7 @@ typedef enum {
OP65_SED, OP65_SED,
OP65_SEI, OP65_SEI,
OP65_STA, OP65_STA,
OP65_STP, /* 65c02, 65816 stop */
OP65_STX, OP65_STX,
OP65_STY, OP65_STY,
OP65_STZ, OP65_STZ,