mirror of
https://github.com/OlivierGuinart/Merlin32ForVSCode.git
synced 2024-11-29 13:49:29 +00:00
helloworld.s to replace test.s
This commit is contained in:
parent
367dd43955
commit
6cc2756916
11
Test/helloworld.s
Normal file
11
Test/helloworld.s
Normal 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
|
11
Test/test.s
11
Test/test.s
@ -1,11 +0,0 @@
|
|||||||
; This is a comment
|
|
||||||
ADC X
|
|
||||||
DA Y
|
|
||||||
A EQU "STRING"
|
|
||||||
bne
|
|
||||||
BRA
|
|
||||||
* THat is a comment too.
|
|
||||||
""
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user