mirror of
https://github.com/OlivierGuinart/Merlin32ForVSCode.git
synced 2025-08-06 08:25:25 +00:00
helloworld.s to replace test.s
This commit is contained in:
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.
|
||||
""
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user