Renamed: hello.s -> hello-asm.s
This commit is contained in:
15
samples/cbm/hello-asm.s
Normal file
15
samples/cbm/hello-asm.s
Normal 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!"
|
||||
Reference in New Issue
Block a user