title: How to display register value using INT 10H
body: <p>I know I can print an ASCII character if it's representation is in AL with:</p>
  
  <pre><code>DrawChar:
    MOV AL, 0x45
    MOV AH, 0x0E
    MOV BL, 0x07
    MOV BH, 0x00
    INT 0x10
    RET
  </code></pre>
  
  <p>Is there a way I can use INT 10H to print the actual register value? Like AL is 0x45 in the e.g. above, so it would print 45 (doesn't have to be the hex rep.). I'm doing this in a 16-bit real-mode bootloader.</p>