summary refs log tree commit diff
path: root/thing.s
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2025-04-03 11:39:20 +0300
committerWlodekM <[email protected]>2025-04-03 11:39:20 +0300
commit8005bf4f12c6f9315d269905cc2de32bf6182513 (patch)
tree4099c9253290da1e083f07dd400eca3dc7134a9d /thing.s
parent8702826717b3e916ef774004c4de99b96d04ddff (diff)
fix rts
Diffstat (limited to 'thing.s')
-rw-r--r--thing.s11
1 files changed, 8 insertions, 3 deletions
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