![]()  | 
Routines | 
| Prev: 49600 | Up: Map | Next: 49623 | 
  | 
||||||||
| PrintString | 49611 | LD A,(HL) | A=*HL. | |||||
| 
 
Strip off the termination bit to leave only the ASCII value.
 
 | 
||||||||
| 49612 | AND %01111111 | Keep only bits 0-6. | ||||||
| 49614 | CALL 49661 | Call 49661. | ||||||
| 
 
The string is terminated by bit 7 being set, so check if this is the final character or not.
 
 | 
||||||||
| 49617 | BIT 7,(HL) | Return if bit 7 of *HL is set. | ||||||
| 49619 | RET NZ | |||||||
| 49620 | INC HL | Move to the next byte in the string. | ||||||
| 49621 | JR PrintString | Jump back to PrintString. | ||||||
| Prev: 49600 | Up: Map | Next: 49623 |