; Integer divides HL by C ; Result in HL, remainder in A ; Clobbers F, B xor a ld b,16 -: add hl,hl rla cp c jr c,+ sub c inc l +: djnz -