Prev: A556 Up: Map Next: A58F
A578: Routine at A578
Used by the routine at A532.
A578 PUSH HL Stash HL on the stack.
A579 CALL CalculateDartBoardAddress Call CalculateDartBoardAddress.
A57C EX DE,HL Exchange the DE and HL registers.
A57D POP HL Restore HL from the stack.
A57E EX DE,HL Exchange the DE and HL registers.
A57F LD B,$08 B=08.
A581 PUSH BC Stash BC and HL on the stack.
A582 PUSH HL
A583 LDI LDI.
A585 LDI LDI.
A587 LDI LDI.
A589 POP HL Restore HL from the stack.
A58A INC H Increment H by one.
A58B POP BC Restore BC from the stack.
A58C DJNZ $A581 Decrease counter by one and loop back to A581 until counter is zero.
A58E RET Return.
Prev: A556 Up: Map Next: A58F