Language…
5 users online: Hammerer, Maw, Rudi_Schrausch,  Tahixham, Torchkas - Guests: 274 - Bots: 304
Users: 64,795 (2,377 active)
Latest user: mathew

SMW Memory Map

Displaying 1 out of 1 addresses.

View: moderated | waiting (13)

Filter

Link
  • Pages:
  • 1
ROM Address Length Type Description Details
$00974C 4 bytes Subroutine (JSL) Calls the hexadecimal to decimal subroutine (in short HexToDec) to convert a hexadecimal value into a decimal string at $009045 and ends in an RTL.

Input:
-A (8-bit value).

Output:
-A: 1s digit (repeated subtraction remainder (“modulo”) once A < 10)
-X: 10s digit (the “quotient” of A divided by 10)
  • Pages:
  • 1