![]() |
Routines |
| Prev: 39883 | Up: Map | Next: 39894 |
|
Used by the routines at ChooseItemSites, CompletePlanet, UpdateControlIcon, ChangeControlMethod, FireShot, SpawnEnemy, ExplodePlayerShip, ScoreDestroyedObject, ChooseTarget, UpdateObject, UpdateType1C, UpdateCrystalStack, UpdateType15, StartCrystalObject, PlayNote, UpdateBeams, ClipSpriteVertically, DrawSprites, BuildStackGraphic, BuildCarriedItemGraphic, CheckItemPickup, FindCellBit, AddShipPart, RunFrame, DrawSideFlames, BeginLife, LoadMapObjects, AddMapObjects, ResetLife and ResetPlayerState.
Adds an unsigned number to HL.
|
||||||||||||||
| AddAToHL | 39887 | ADD A,L | Add A to L. | |||||||||||
| 39888 | LD L,A | Copy it to L. | ||||||||||||
| 39889 | LD A,H | Fetch H. | ||||||||||||
| 39890 | ADC A,0 | Add 0 with carry. | ||||||||||||
| 39892 | LD H,A | Copy it to H. | ||||||||||||
| 39893 | RET | Return. | ||||||||||||
|
View the equivalent code in;
|
||||||||||||||
| Prev: 39883 | Up: Map | Next: 39894 |