Prev: C85B Up: Map Next: C869
C863: Reduce Number
Used by the routine at MakeBag.
Subtracts 08 from A until it is less than C.
Input
A The number
C The number which A must be below
Output
A The result
Subtract 08 until A is less than C.
ReduceNumber C863 CP C Return if A is less than C.
C864 RET C
C865 SUB $08 Subtract 08 and jump to ReduceNumber.
C867 JR ReduceNumber
Prev: C85B Up: Map Next: C869