helloworld.s to replace test.s

This commit is contained in:
Olivier Guinart 2017-09-23 18:18:04 -07:00
parent 367dd43955
commit 6cc2756916
2 changed files with 11 additions and 11 deletions

11
Test/helloworld.s Normal file
View File

@ -0,0 +1,11 @@
; Uses S-C Assembler variant.
* This is also a valid comment...
org $800
main ldy #$00
start_loop lda HelloWorld,y
beq end_loop
jsr $fded ; ROM routine, COUT, y is preserved
iny
bne start_loop
end_loop rts
HelloWorld ASC "HELLO WORLD!"00

View File

@ -1,11 +0,0 @@
; This is a comment
ADC X
DA Y
A EQU "STRING"
bne
BRA
* THat is a comment too.
""