Routines |
Prev: 27410 | Up: Map | Next: 27464 |
|
||||||||||
27425 | EX DE,HL | Switch the display file address to HL. | ||||||||
27426 | CALL 27663 | Set HL' to the corresponding attribute file address (unnecessarily). | ||||||||
27429 | EX DE,HL | Switch the display file address back to DE, and the score or high score to HL. | ||||||||
27430 | LD A,"0" | Initialise A. | ||||||||
27432 | AND A | Clear the carry flag, ready for trial subtraction. | ||||||||
27433 | LD BC,10000 | Compute and print the 10,000s digit. | ||||||||
27436 | CALL 27464 | |||||||||
27439 | LD BC,1000 | Compute and print the 1,000s digit. | ||||||||
27442 | CALL 27464 | |||||||||
27445 | LD BC,100 | Compute and print the 100s digit. | ||||||||
27448 | CALL 27464 | |||||||||
27451 | LD BC,10 | Compute and print the 10s digit. | ||||||||
27454 | CALL 27464 | |||||||||
27457 | LD A,L | Compute the ASCII code for the 1s digit. | ||||||||
27458 | ADD A,"0" | |||||||||
27460 | CALL 27471 | Print it. | ||||||||
27463 | RET |
Prev: 27410 | Up: Map | Next: 27464 |