]> git.sur5r.net Git - cc65/blobdiff - src/ca65/instr.c
Error message for negative array sizes.
[cc65] / src / ca65 / instr.c
index 6f8b3fea7c15b1496788d545f9b63ac423272bb5..4586e21e1b6b7a3d86e635e6a5e884400eb190ff 100644 (file)
 #include <string.h>
 #include <ctype.h>
 
-#include "../common/bitops.h"
+/* common */
+#include "bitops.h"
+#include "check.h"
 
+/* ca65 */
 #include "ea.h"
 #include "error.h"
 #include "expr.h"
@@ -146,7 +149,7 @@ static const struct {
        { "BCC", 0x0020000, 0x90, 0, PutPCRel8 },
        { "BCS", 0x0020000, 0xb0, 0, PutPCRel8 },
        { "BEQ", 0x0020000, 0xf0, 0, PutPCRel8 },
-       { "BIT", 0x080006C, 0x00, 2, PutAll },
+       { "BIT", 0x0A0006C, 0x00, 2, PutAll },
        { "BMI", 0x0020000, 0x30, 0, PutPCRel8 },
        { "BNE", 0x0020000, 0xd0, 0, PutPCRel8 },
        { "BPL", 0x0020000, 0x10, 0, PutPCRel8 },