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