Repeat: Difference between revisions
m
→{{header|68000 Assembly}}: reworded for clarity
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→{{header|68000 Assembly}}: reworded for clarity) |
||
Line 63:
=={{header|68000 Assembly}}==
This example code prints an exclamation point to the screen 4 times.
It is assumed that the functions called do not clobber A5 or D7, as doing so would cause undefined behavior (read: a crash or
<lang 68000devpac> lea foo,a5 ;function to execute
move.w #4-1,d7 ;times to repeat
|