From b93b88211cc5330f714c23f2da7f1791a09e1dc4 Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 19 Aug 2018 16:29:25 +0200 Subject: [PATCH] WDM support (#721) WDM support --- src/ca65/instr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } } -- 2.39.5