Routines |
Prev: 46471 | Up: Map | Next: 46710 |
|
||||||||||
PrintCharacters | 46700 | LD A,(HL) | Load the character from *HL into A. | |||||||
46701 | PUSH HL | Stash the string pointer and character counter on the stack. | ||||||||
46702 | PUSH BC | |||||||||
46703 | RST 16 | Print the character to the screen. | ||||||||
46704 | POP BC | Restore the character counter and string pointer from the stack. | ||||||||
46705 | POP HL | |||||||||
46706 | INC HL | Increment the string pointer by one to point to the next character. | ||||||||
46707 | DJNZ PrintCharacters | Decrease the character counter by one and loop back to PrintCharacters until all characters have been printed. | ||||||||
46709 | RET | Return. |
Prev: 46471 | Up: Map | Next: 46710 |