Loops/Downward for: Difference between revisions
Content deleted Content added
Puppydrum64 (talk | contribs) No edit summary |
Puppydrum64 (talk | contribs) |
||
Line 102:
Code is called as a subroutine, i.e. "JSR ForLoop." OS/Hardware specific printing subroutines are unimplemented here.
<lang 68000devpac>ForLoop:
MOVE.
loop:
JSR Print_D0_As_Ascii ;some routine that converts the digits of D0 into ascii characters and prints them to screen.
▲DBRA D1,loop ;repeat until D1.W = $FFFF
rts</lang>
|