- push ecx\r
- mov ah, al\r
- and ax, 0xF00F ; mask bits\r
- shr ah, 4 ; right shift ah to get unpacked BCD\r
- or ax, 0x3030 ; combine with 30 to get ASCII\r
- xchg ah, al ; swap for ASCII storage convention\r
- pop ecx\r
- ret
\ No newline at end of file
+ push ecx\r
+ mov ah, al\r
+ and ax, 0xF00F ; mask bits\r
+ shr ah, 4 ; right shift ah to get unpacked BCD\r
+ or ax, 0x3030 ; combine with 30 to get ASCII\r
+ xchg ah, al ; swap for ASCII storage convention\r
+ pop ecx\r
+ ret
\ No newline at end of file