Prev: 38453 Up: Map Next: 38488
38476: Print String
PrintString_Loop 38476 EX (SP),HL Exchange HL with the address at the top of the stack.
38477 LD A,(HL) Get character from string.
38478 INC HL Increment the string pointer by one.
38479 EX (SP),HL Update the return address on the stack.
38480 CP 255 Return if the terminator has been reached.
38482 RET Z
38483 CALL PrintCharacter Call PrintCharacter.
38486 JR PrintString_Loop Jump back to PrintString_Loop.
Prev: 38453 Up: Map Next: 38488