Loops/While: Difference between revisions

m
(Loops/While in Asymptote)
Line 118:
EndLoop: PLA ;restore accumulator from stack
RTS ;return from subroutine</lang>
 
=={{header|68000 Assembly}}==
Printing routines are left out since this is not the focus of the task.
<lang 68000devpac>main:
MOVE.W #1024,D0
 
WhileLoop:
jsr PrintHexWord
LSR.W #1,D0
BNE WhileLoop</lang>
 
=={{header|AArch64 Assembly}}==
{{works with|as|Raspberry Pi 3B version Buster 64 bits}}
1,489

edits