From 8005bf4f12c6f9315d269905cc2de32bf6182513 Mon Sep 17 00:00:00 2001 From: WlodekM Date: Thu, 3 Apr 2025 11:39:20 +0300 Subject: fix rts --- thing.s | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'thing.s') diff --git a/thing.s b/thing.s index d7fabea..d492a15 100644 --- a/thing.s +++ b/thing.s @@ -1,3 +1,8 @@ - lda #$55 ; put 55 into A - sta $00 ; put A into $0 - brk \ No newline at end of file +_start: + lda #$78 + jsr goog + cmp #$78 + brk +goog: + lda #$50 + rts \ No newline at end of file -- cgit 1.4.1-2-gfad0