# [Z80Golf], $123456 (12 bytes)

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

[Try it online!][TIO-jmtrwzb6]

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

Assembly:
<!-- language-all: lang-bash -->

<pre><code>ld b, 6 ; loop 6 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>

[Try it online!][TIO-jmtrxjo8]

[Bash]: https://www.gnu.org/software/bash/
[TIO-jmtrxjo8]: https://tio.run/##LY5BCoMwEEXX5hR/UXCjJNRSSmtXpd32DKMRYolGnLRY6d3TKC4GhnmP/6ciNqEmj7K8Px/4QbrBS2Juusp@8/mkZBziDlI3H8letz1yhzyq06SD1agyHHGBdW6Ii2@7hkU8U4b9wUSQ7lLUhkYxskdxMoK0hrotqFDmmqoNLwFnkbR9DRLJJkdpePuVJ/rVz2uNMGR9iP@GPw "Bash – Try It Online"