title: How to print inputted text in x86 assembly
body: <p>I am working on a little assembly project, and I'm running into some issues displaying inputted text. Here's the code I have so far:</p>
  <pre><code>[org 0x7c00]
  
  mov ah, 0
  int 0x16
  mov al, [key]
  int 0x10
  
  key:
      db 0
  
  jmp $
  
  times 510-($-$$) db 0
  db 0x55, 0xaa
  </code></pre>
  <p>I'm pretty sure I'm just doing operations in the wrong order, though I don't know in which way. For a bit more context, I'm using NASM to convert to a .bin, and QEMU to run the program.</p>