Character codes: Difference between revisions

m
→‎{{header|Z80 Assembly}}: corrected external link
m (→‎{{header|Z80 Assembly}}: corrected external link)
Line 2,607:
call &BB5a</lang>
 
Printing a character code given a character takes slightly more work. You'll need to separate each hexadecimal digit of the ASCII code, convert each digit to ASCII, and print it. Once again, thanks to Keith of [[http://www.chibiakumas.com Chibiakumas]] for this code:
<lang z80>ShowHex:
push af
1,489

edits