From: Stefan Date: Sun, 19 Aug 2018 14:29:25 +0000 (+0200) Subject: WDM support (#721) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b93b88211cc5330f714c23f2da7f1791a09e1dc4;p=cc65 WDM support (#721) WDM support --- diff --git a/src/ca65/instr.c b/src/ca65/instr.c index 912e45867..532a8748e 100644 --- a/src/ca65/instr.c +++ b/src/ca65/instr.c @@ -635,7 +635,7 @@ static const struct { /* Instruction table for the 65816 */ static const struct { unsigned Count; - InsDesc Ins[99]; + InsDesc Ins[100]; } InsTab65816 = { sizeof (InsTab65816.Ins) / sizeof (InsTab65816.Ins[0]), { @@ -736,6 +736,7 @@ static const struct { { "TYA", 0x0000001, 0x98, 0, PutAll }, { "TYX", 0x0000001, 0xbb, 0, PutAll }, { "WAI", 0x0000001, 0xcb, 0, PutAll }, + { "WDM", 0x0000004, 0x42, 6, PutAll }, { "XBA", 0x0000001, 0xeb, 0, PutAll }, { "XCE", 0x0000001, 0xfb, 0, PutAll } }