Add sample assembly program for Commodore machines

This commit is contained in:
Olli Savia
2024-06-13 16:22:42 +03:00
parent 2c4d4d3314
commit 5976e3b85d
2 changed files with 30 additions and 4 deletions

15
samples/cbm/hello.s Normal file
View File

@@ -0,0 +1,15 @@
;
; Sample assembly program for Commodore machines
;
.include "cbm_kernal.inc"
ldx #$00
: lda text,x
beq out
jsr CHROUT
inx
bne :-
out: rts
text: .asciiz "hello world!"