![]() |
Routines |
Prev: C1C0 | Up: Map | Next: C1D7 |
|
||||||||
PrintString | C1CB | LD A,(HL) | A=*HL. | |||||
Strip off the termination bit to leave only the ASCII value.
|
||||||||
C1CC | AND %01111111 | Keep only bits 0-6. | ||||||
C1CE | CALL $C1FD | Call C1FD. | ||||||
The string is terminated by bit 7 being set, so check if this is the final character or not.
|
||||||||
C1D1 | BIT 7,(HL) | Return if bit 7 of *HL is set. | ||||||
C1D3 | RET NZ | |||||||
C1D4 | INC HL | Move to the next byte in the string. | ||||||
C1D5 | JR PrintString | Jump back to PrintString. |
Prev: C1C0 | Up: Map | Next: C1D7 |