]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - rom.asm
Yay. Fix retcc. Comparing against an x value - great idea, or greatest idea?
[fpgaboy.git] / rom.asm
diff --git a/rom.asm b/rom.asm
index aa070ff2c0f33633af42231b746e09b771c53e0a..d650855e429cdb8c222197d8c401cf8c6bb985f8 100644 (file)
--- a/rom.asm
+++ b/rom.asm
@@ -212,7 +212,7 @@ insntest:
 .cplfail:
        db "CPL",0
 .testfailed:
 .cplfail:
        db "CPL",0
 .testfailed:
-       db "test failed.",$0D,$0A,0
+       db " test failed.",$0D,$0A,0
 .ok:
        db "OK!",$0D,$0A,0
 
 .ok:
        db "OK!",$0D,$0A,0
 
@@ -233,9 +233,6 @@ puts:
        ld a, [hli]
        ld b, $00
        cp b
        ld a, [hli]
        ld b, $00
        cp b
-       jr z, .done
+       ret z
        call putc
        jr puts
        call putc
        jr puts
-.done:
-       ret
-       
This page took 0.02269 seconds and 4 git commands to generate.