Prev: 9635 Up: Map Next: 9658
964C: Print String
PrintString_Loop 964C EX (SP),HL Exchange HL with the address at the top of the stack.
964D LD A,(HL) Get character from string.
964E INC HL Increment the string pointer by one.
964F EX (SP),HL Update the return address on the stack.
9650 CP $FF Return if the terminator has been reached.
9652 RET Z
9653 CALL PrintCharacter Call PrintCharacter.
9656 JR PrintString_Loop Jump back to PrintString_Loop.
Prev: 9635 Up: Map Next: 9658