]> git.sur5r.net Git - cc65/commitdiff
small optimization, 5 bytes saved
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 19 Aug 2003 22:38:01 +0000 (22:38 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 19 Aug 2003 22:38:01 +0000 (22:38 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2372 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos/common/zerobss.s

index 3d1c2860068302af36469dbf41c98ac701297821..5613a75ed08d630cbcdaa9fbbc2a391cbc7f8939 100644 (file)
@@ -18,10 +18,8 @@ zerobss:
            ldx #>__BSS_SIZE__
            sta r0L
            stx r0H
-           lda #0
-           sta r2L
            lda #<__BSS_RUN__
            ldx #>__BSS_RUN__
            sta r1L
            stx r1H
-           jmp FillRam
+           jmp ClearRam