title: How do I display values stored in the dl register using NASM (assembly)?
body: <p>I'm fairly new to assembly, so let me know if this question is too ambiguous to answer, or if I need to include more information.</p>
  
  <p>Basically, I have some information stored in the <code>dl</code> register. The <code>eax</code>, <code>ebx</code>, and <code>ecx</code> registers also have values stored in them that I want to keep. How do I display the <code>dl</code> register to the screen without changing the values of the other registers?</p>
  
  <p>I've also tried used <code>int 21h</code>, but I'm getting segmentation faults while using that.</p>