Character codes: Difference between revisions
m
→{{header|Z80 Assembly}}: corrected external link
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) 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
|