# [Z80Golf], $12345 (12 bytes)

    00000000: 0605 3e24 ffc6 0c3c ff10 fc76            ..>$...<...v

[Try it online!][TIO-jmtrovkg]

[Z80Golf]: https://github.com/lynn/z80golf
[TIO-jmtrovkg]: https://tio.run/##q7IwSM/PSfv/3wAKrBQMzAxMFYxTjUwU0tKSzRQMko2TgSxDA4W0ZHMzBSSgp2enoqenZwPEZf//AwA "Z80Golf – Try It Online"

Assembly:
<pre><code>ld b, 5 ; loop 5 times
ld a, 24h ; '$' char
rst 38h
add 0Ch ; 30h='0' char
loop:
&#9;inc a
&#9;rst 38h ; putchar
&#9;djnz loop
halt
</code></pre>