* device/lib/gbz80/asm_strings.s,
[fw/sdcc] / device / lib / gbz80 / crt0_rle.s
index d5778142da081f3a0b1d616b3e84c19de922f25c..e7deb7d9db439f4cec19988ac7aa3ee1399f580d 100644 (file)
@@ -1,11 +1,11 @@
         .area   _CODE
-        
+
         ;; Special RLE decoder used for initing global data
 __initrleblock::
         ;; Pull the destination address out
         ld      c,l
         ld      b,h
-        
+
         ;; Pop the return address
         pop     hl
 1$:
@@ -14,7 +14,7 @@ __initrleblock::
         inc     hl
         ;; Negative means a run
         bit     7,e
-        jp      z,2$
+        jp      Z,2$
         ;; Code for expanding a run
         ld      a,(hl)
         inc     hl
@@ -22,23 +22,23 @@ __initrleblock::
         ld      (bc),a
         inc     bc
         inc     e
-        jp      nz,3$
+        jp      NZ,3$
         jp      1$
 2$:
         ;; Zero means end of a block
         xor     a
         or      e
-        jp      z,4$
+        jp      Z,4$
         ;; Code for expanding a block
-5$:     
-        ld      a,(hl)        
+5$:
+        ld      a,(hl)
         inc     hl
         ld      (bc),a
         inc     bc
         dec     e
-        jp      nz,5$
+        jp      NZ,5$
         jp      1$
-4$:     
+4$:
         ;; Push the return address back onto the stack
         push    hl
         ret