]> git.sur5r.net Git - cc65/commitdiff
The opcode for BS should be 0x0C. 643/head
authorMichael Kohn <mike@mikekohn.net>
Sun, 13 May 2018 11:31:05 +0000 (06:31 -0500)
committerMichael Kohn <mike@mikekohn.net>
Sun, 13 May 2018 11:31:05 +0000 (06:31 -0500)
src/ca65/instr.c

index 53d3573a69a4aa712d019ee9fc439bfe1b8df1ff..37217203a5217ff79e256a69c55a1ccde6eec366 100644 (file)
@@ -758,7 +758,7 @@ static const struct {
         { "BNZ",  AMSW16_BRA,              0x07, 0, PutSweet16Branch },
         { "BP",   AMSW16_BRA,              0x04, 0, PutSweet16Branch },
         { "BR",   AMSW16_BRA,              0x01, 0, PutSweet16Branch },
-        { "BS",   AMSW16_BRA,              0x0B, 0, PutSweet16Branch },
+        { "BS",   AMSW16_BRA,              0x0C, 0, PutSweet16Branch },
         { "BZ",   AMSW16_BRA,              0x06, 0, PutSweet16Branch },
         { "CPR",  AMSW16_REG,              0xD0, 0, PutSweet16 },
         { "DCR",  AMSW16_REG,              0xF0, 0, PutSweet16 },