Prev: 52059 Up: Map Next: 52091
52081: Move Down Row
Moves a screen address down by one character row.
Input
HL The screen address
Output
HL The new screen address
MoveDownRow 52081 LD A,L Add thirty-two to the low byte.
52082 ADD A,32
52084 LD L,A
52085 RET NC Return if it has not gone into the next third.
52086 LD A,H Add eight to the high byte.
52087 ADD A,8
52089 LD H,A
52090 RET Return.
View the equivalent code in;
Prev: 52059 Up: Map Next: 52091