]> git.sur5r.net Git - cc65/blobdiff - src/ca65/instr.c
Add co65 utility
[cc65] / src / ca65 / instr.c
index 50c74923bf1e0b81c2662c8041b6638fde8470a3..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"
 #include "global.h"
+#include "nexttok.h"
 #include "objcode.h"
-#include "scanner.h"
 #include "instr.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 },