![]() |
Routines |
| Prev: BF7E | Up: Map | Next: BF97 |
|
Used by the routines at CountSectorPrograms, UpdateBatteryBar_Increase, CheckBatteryLow, QueueProgram, DrawSprite and PlayNote.
Adds an 8-bit number to a 16-bit number.
|
||||||||||||||
| AddAToHL | BF92 | ADD A,L | Add A to L and return if that did not carry. | |||||||||||
| BF93 | LD L,A | |||||||||||||
| BF94 | RET NC | |||||||||||||
| BF95 | INC H | Carry on into the high byte. | ||||||||||||
| BF96 | RET | Return. | ||||||||||||
| Prev: BF7E | Up: Map | Next: BF97 |