Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -7,10 +7,7 @@ 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
|
||||
MOVE.B (A3)+,(A4)+ ;Copy one byte.
|
||||
BNE CopyString ;Not zero, do more bytes.
|
||||
|
||||
Terminated: ;the null terminator is already stored along with the string itself, so we are done.
|
||||
;program ends here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue