Prev: E542 Up: Map Next: E555
E550: Divide by eight with rounding
This divides (C,A) by 8, with rounding to nearest, returning the result in A.
Input
A Low.
C High.
Output
A Result.
divide_by_8_with_rounding E550 ADD A,$04 Add 4 to AC
E552 JR NC,divide_by_8
E554 INC C
FALL THROUGH into divide_by_8.
Prev: E542 Up: Map Next: E555