]> git.sur5r.net Git - cc65/blobdiff - libsrc/runtime/and.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / runtime / and.s
index 2b52c552ca9871577af5c990525461f96acead54..c38b47bb23b7abcb8bb0fe98d25ba987d46a4aea 100644 (file)
@@ -8,11 +8,13 @@
        .import         addysp1
        .importzp       sp, ptr4
 
+        .macpack        cpu
+
 tosanda0:
        ldx     #$00
 tosandax:
-.ifpc02
-       and     (sp)            ; 65C02 version, saves 2 cycles and 1 byte
+.if (.cpu .bitand CPU_ISET_65SC02)
+       and     (sp)            ; 65SC02 version, saves 2 cycles and 1 byte
        ldy     #1
 .else
        ldy     #0