title: Input output in x64 assembly
body: <p>How do I get an input and output I Don't understand at all and haven't found a single simple example anywhere 
  the only thing i have is:</p>
  
  <p>I am using masm in visual studio        </p>
  
  <pre><code>; get a write handle
  MOV rcx, STD_OUTPUT_HANDLE
  CALL    GetStdHandle
  MOV whandle, eax            ; write handle
  
  ; get a read handle
  MOV rcx, STD_INPUT_HANDLE
  CALL    GetStdHandle
  MOV rhandle, eax            ; read handle`
  </code></pre>