21 users online: 3Z3RD,  Anorakun, FrostyLosty, Heitor Porfirio, Leaf_7, lordkronos100,  MarioFanGamer,  NopeContest, RichardDS90, Ringo, Rykon-V73,  Segment1Zone2, shadowboyultra, signature_steve, Sonikku, SubconsciousEye,  Tahixham,  Teows, TheBourgyman, Uncle Steve-Pup, Zavok - Guests: 245 - Bots: 201
Users: 64,427 (2,482 active)
Latest user: Truehoufan

SMW Memory Map

Displaying 1 out of 1 addresses.

View: moderated | waiting (35)


  • Pages:
  • 1
ROM Address Length Type Description Details
$009045 12 bytes Subroutine (JSR) The hexadecimal to decimal subroutine (in short HexToDec) which converts a hexadecimal 8-bit value into a decimal string. To use for JSL, use JSL $00974C instead.

-A: 8-bit value to convert
-A: 1s digit (calculated via repeated subtraction until < 10; “modulo” by 10)
-X: 10s digit (calculated via how many subtraction until A < 10; “quotient” division by 10)
  • Pages:
  • 1