mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
16 lines
251 B
ArmAsm
16 lines
251 B
ArmAsm
;
|
|
; 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!"
|