Change jump target in infinite loop lab_1
authorRhett Aultman <roadriverrail@gmail.com>
Thu, 13 Sep 2018 19:48:52 +0000 (15:48 -0400)
committerRhett Aultman <roadriverrail@gmail.com>
Thu, 13 Sep 2018 19:48:52 +0000 (15:48 -0400)
The jump target should have been to "forever", not "reset"

src/helloworld.asm

index 3ddbea630fa158d472da000474dbceb59c0090b5..b1af0b2363c7ebbd0972ed86aa7d937af5a7fcaf 100644 (file)
@@ -52,7 +52,7 @@ reset:
   lda #$bf     ; volume
   sta $4000
 forever:
-  jmp reset
+  jmp forever
 
 nmi:
   rti ; Return from the NMI (NTSC refresh interrupt)