]> git.sur5r.net Git - cc65/commitdiff
4510 support: yet another round up little updates 343/head
authorSven Oliver Moll <svolli@svolli.de>
Wed, 31 Aug 2016 18:18:54 +0000 (20:18 +0200)
committerSven Oliver Moll <svolli@svolli.de>
Wed, 31 Aug 2016 18:18:54 +0000 (20:18 +0200)
asminc/cpu.mac
src/ca65/instr.c

index 6b8aa6d7bfb00165de844ffa7bbf6c80231cb856..6a5482d1e6724a975f8044fa27033de250813309 100644 (file)
@@ -7,6 +7,7 @@ CPU_ISET_65C02     = $0010
 CPU_ISET_65816     = $0020
 CPU_ISET_SWEET16   = $0040
 CPU_ISET_HUC6280   = $0080
+CPU_ISET_4510      = $0100
 
 ; CPU capabilities
 CPU_NONE           = CPU_ISET_NONE
@@ -17,3 +18,4 @@ CPU_65C02          = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02
 CPU_65816          = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65816
 CPU_SWEET16        = CPU_ISET_SWEET16
 CPU_HUC6280        = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02|CPU_ISET_HUC6280
+CPU_4510           = CPU_ISET_6502|CPU_ISET_65SC02|CPU_ISET_65C02|CPU_ISET_4510
index e2819e7ccdf779438a113af8f84c8a275b6133e9..5e7904992859267a63b0f16ecafb57ccd1daafa6 100644 (file)
@@ -1579,7 +1579,7 @@ static void Put4510 (const InsDesc* Ins)
             case 0xB3: A.Opcode = 0xE2; break;
             case 0xD0: A.Opcode = 0xC2; break;
             case 0xFC: A.Opcode = 0x23; break;
-            default: /*nothing*/ break;
+            default: /* Keep opcode as it is */ break;
         }
 
         /* No error, output code */