Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,4 @@
myString: DC.B "HELLO WORLD",0
EVEN
LEA myString,A3

View file

@ -0,0 +1,16 @@
StringRam equ $100000
myString: DC.B "HELLO WORLD",0
EVEN
LEA myString,A3
LEA StringRam,A4
CopyString:
MOVE.B (A3)+,D0
MOVE.B D0,(A4)+ ;we could have used "MOVE.B (A3)+,(A4)+" but this makes it easier to check for the terminator.
BEQ Terminated
BRA CopyString
Terminated: ;the null terminator is already stored along with the string itself, so we are done.
;program ends here.