]> git.sur5r.net Git - cc65/commitdiff
buggy rmb and rmbf macros (not used anywhere anyway ;)
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 13 Dec 2002 00:35:54 +0000 (00:35 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 13 Dec 2002 00:35:54 +0000 (00:35 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1758 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/inc/geosmac.ca65.inc

index a2517be0acac454c4a7dc7f815e386a096172bcf..6121187835aacce03b29cb65600bab74ccb0601f 100644 (file)
@@ -165,14 +165,14 @@ Skip:
        .macro          rmb bitNumber, dest
        pha
        lda #(1 << bitNumber) ^ $ff 
-       ora dest
+       and dest
        sta dest
        pla
        .endmacro
 
        .macro          rmbf bitNumber, dest
        lda #(1 << bitNumber) ^ $ff
-       ora dest
+       and dest
        sta dest
        .endmacro