From 5ecd902fbfbf7199ca489cf6d1d7add9758c0758 Mon Sep 17 00:00:00 2001 From: Michael Kohn Date: Sun, 13 May 2018 06:31:05 -0500 Subject: [PATCH] The opcode for BS should be 0x0C. --- src/ca65/instr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ca65/instr.c b/src/ca65/instr.c index 53d3573a6..37217203a 100644 --- a/src/ca65/instr.c +++ b/src/ca65/instr.c @@ -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 }, -- 2.39.5