SMW Memory Map
|$009051||40 bytes||Subroutine (JSR)||Bonus stars (small 8x8 digits) HexToDec routine. Unknown why Nintendo didn't decide to use $009045 instead, since the bonus stars are 8-bit and other digits are also 8-bit and they use $009045.
Note: this routine alone produces mere 1s and 10s place, so the numbers will be 8x8 instead of 8x16. The code at $008FAF will convert the digits to tile numbers of 8x16 digit graphics.