Copy a string: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 57: | Line 57: | ||
CopyString: |
CopyString: |
||
MOVE.B (A3)+,D0 |
MOVE.B (A3)+,D0 |
||
MOVE.B D0,(A4)+ ;we could have |
MOVE.B D0,(A4)+ ;we could have used "MOVE.B (A3)+,(A4)+" but this makes it easier to check for the terminator. |
||
BEQ Terminated |
BEQ Terminated |
||
BRA CopyString |
BRA CopyString |