![]() |
Routines |
| Prev: 47714 | Up: Map | Next: 47732 |
|
Used by the routines at PrintStatistics and PrintLowDigit.
Prints the digits of a number held in BCD, two to each byte.
|
||||||||||||
|
Print the upper digit of the byte.
|
||||||||||||
| PrintBCDBytes | 47722 | LD A,(DE) | Fetch a byte of the number. | |||||||||
| 47723 | RRCA | Move the upper digit to the lowest four bits. | ||||||||||
| 47724 | RRCA | |||||||||||
| 47725 | RRCA | |||||||||||
| 47726 | RRCA | |||||||||||
| 47727 | AND %00001111 | Keep only bits 0 to 3. | ||||||||||
| 47729 | CALL PrintCharacter | Call PrintCharacter. | ||||||||||
|
Continue on to PrintLowDigit.
|
||||||||||||
| Prev: 47714 | Up: Map | Next: 47732 |