Prev: 48589 Up: Map Next: 48735
48718: Divide By Sixteen
Used by the routine at AddEntity.
Shifts a 16-bit number right by four bits.
Input
HL Number to divide
Output
HL Number divided by sixteen
DivideBySixteen 48718 SRL H Shift HL right four times.
48720 RR L
48722 SRL H
48724 RR L
48726 SRL H
48728 RR L
48730 SRL H
48732 RR L
48734 RET Return.
Prev: 48589 Up: Map Next: 48735