![]() |
Routines |
| Prev: BA62 | Up: Map | Next: BA74 |
|
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 | BA6A | LD A,(DE) | Fetch a byte of the number. | |||||||||
| BA6B | RRCA | Move the upper digit to the lowest four bits. | ||||||||||
| BA6C | RRCA | |||||||||||
| BA6D | RRCA | |||||||||||
| BA6E | RRCA | |||||||||||
| BA6F | AND %00001111 | Keep only bits 0 to 3. | ||||||||||
| BA71 | CALL PrintCharacter | Call PrintCharacter. | ||||||||||
|
Continue on to PrintLowDigit.
|
||||||||||||
| Prev: BA62 | Up: Map | Next: BA74 |