Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Repeat-a-string/68000-Assembly/repeat-a-string.68000
Normal file
12
Task/Repeat-a-string/68000-Assembly/repeat-a-string.68000
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
MOVE.W #5-1,D1
|
||||
RepString:
|
||||
LEA A3, MyString
|
||||
MOVE.L A3,-(SP) ;PUSH A3
|
||||
JSR PrintString ;unimplemented hardware-dependent printing routine, assumed to not clobber D1
|
||||
MOVE.L (SP)+,A3 ;POP A3
|
||||
DBRA D1,RepString
|
||||
RTS ;return to basic or whatever
|
||||
|
||||
MyString:
|
||||
DC.B "ha",0
|
||||
even
|
||||
Loading…
Add table
Add a link
Reference in a new issue