title: Where do we put the input value in a register on a x64 assembly
body: <pre><code>sample:
  pushq   %rbp
  movq    %rsp, %rbp
  
  movl    %edi, -20(%rbp)
  movl    $1, -16(%rbp)
  movl    $0, -12(%rbp)
  movl    $0, -8(%rbp)
  cmpl    $2, -20(%rbp)
  </code></pre>
  
  <p>Lets says input value is 1 what to set 1 as %rbp or %rsp</p>
  
  <p>than what would be the value of %edi though</p>