X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Fcoptsize.c;h=9ab398ff6f82dfc63807f6fb062efc8840526a97;hb=92dfde6c4e748946c5e13323bb48bf2abd72c2b3;hp=b458540c5a72b7f0d85d5d9565f0994ef1280ef9;hpb=f205950f54931a6c00c4b21d038cf285a72e94dc;p=cc65 diff --git a/src/cc65/coptsize.c b/src/cc65/coptsize.c index b458540c5..9ab398ff6 100644 --- a/src/cc65/coptsize.c +++ b/src/cc65/coptsize.c @@ -35,10 +35,12 @@ #include +/* common */ +#include "cpu.h" + /* cc65 */ #include "codeent.h" #include "codeinfo.h" -#include "cpu.h" #include "coptsize.h" @@ -82,6 +84,8 @@ static const CallDesc CallTable [] = { { "pushax", -1, 0, -1, "pusha0" }, { "pushax", -1, 0xFF, -1, "pushaFF" }, { "pushaysp", -1, -1, 0, "pusha0sp" }, + { "pushwidx", -1, -1, 1, "pushw" }, + { "pushwysp", -1, -1, 3, "pushw0sp" }, { "staxysp", -1, -1, 0, "stax0sp" }, { "tosaddax", -1, 0, -1, "tosadda0" }, { "tosandax", -1, 0, -1, "tosanda0" },