Loops/Downward for: Difference between revisions

(Loops/Downward for in Asymptote)
Line 861:
</pre>
 
=={{header|Computer/zero Assembly}}==
<lang 6502asm>LDA 28
SUB 29
STA 31
STA 28
BRZ 6 ;branch on zero to STP
JMP 0
STP
...
org 28
byte 11
byte 1
byte 0</lang>
 
{{out}}[http://www.edmundgriffiths.com/czero.html?hexdump=3c9d5f5ca6c0e00000000000000000000000000000000000000000000b01000a Emulator with program loaded]
=={{header|Crystal}}==
<lang crystal>10.step(to: 0, by: -1).each { |i|
1,489

edits