![]() |
Routines |
| Prev: BAD0 | Up: Map | Next: BAEF |
|
Used by the routine at score_dec_lo.
|
||||
| score_borrow_lo | BAE4 | LD A,H | A = H; DEC A | |
| BAE5 | DEC A | |||
| BAE6 | CP $2F | CP $2F — check for underflow | ||
| BAE8 | CALL Z,score_borrow_mid | If underflow, call score_borrow_mid (borrow from digits 1–2) | ||
| BAEB | LD H,A | LD H,A | ||
| BAEC | LD A,$39 | LD A,$39 ; Reset digit 3 to '9' | ||
| BAEE | RET | |||
| Prev: BAD0 | Up: Map | Next: BAEF |