Prev: 54844 Up: Map Next: 54873
54863: Move Down Row
Moves a screen address down by one row of characters.
Input
HL The screen address
Output
HL The new screen address
MoveDownRow 54863 LD A,L Add thirty-two to the low byte.
54864 ADD A,32
54866 LD L,A
54867 RET NC Return if it has not gone into the next third.
54868 LD A,H Add eight to the high byte.
54869 ADD A,8
54871 LD H,A
54872 RET Return.
View the equivalent code in;
Prev: 54844 Up: Map Next: 54873