Z80Golf, $123456 (12 bytes)
00000000: 0606 3e24 ffc6 0c3c ff10 fc76 ..>$...<...v
Assembly:
ld b, 6 ; loop 6 times
ld a, 24h ; '$' char
rst 38h
add 0Ch ; 30h='0' char
loop:
inc a
rst 38h ; putchar
djnz loop
halt
2 of 2 | Loop 6 times instead of 5 for score $123456 | ||||
Z80Golf, $123456 (12 bytes)
Assembly:
|