Prev: CB5B Up: Map Next: CB7B
CB71: Move Down Row
Moves a screen address down by one character row.
Input
HL The screen address
Output
HL The new screen address
MoveDownRow CB71 LD A,L Add thirty-two to the low byte.
CB72 ADD A,$20
CB74 LD L,A
CB75 RET NC Return if it has not gone into the next third.
CB76 LD A,H Add eight to the high byte.
CB77 ADD A,$08
CB79 LD H,A
CB7A RET Return.
View the equivalent code in;
Prev: CB5B Up: Map Next: CB7B