Prev: BDD8 Up: Map Next: BDFE
BDF1: Three eighths of HL
Used by the routine at bounce_shallow_negate.
Input
HL the value
Output
HL 3/8 of it
three_eighths BDF1 CALL halve_hl a quarter plus an eighth
BDF4 CALL halve_hl
BDF7 PUSH HL
BDF8 POP DE
BDF9 CALL halve_hl
BDFC ADD HL,DE
BDFD RET
Prev: BDD8 Up: Map Next: BDFE