title: Value of %rsi in assembly code
body: <p>I am working through a modified version of binary bomb, but I am stuck on what the value of <code>%rsi</code> is.  Does it have something to do with line 5 and moving value into <code>rax</code>?</p>
  
  <p>Thanks</p>
  
  <pre><code>Dump of assembler code for function phase_2:
  
  =&gt; 0x00000000004011c7 &lt;+0&gt;: sub    $0x8,%rsp
  0x00000000004011cb &lt;+4&gt;:    cmp    $0x3,%rdi  //contains 3 values
  0x00000000004011cf &lt;+8&gt;:    je     0x4011df &lt;phase_2+24&gt;  //check values if equal to three
  0x00000000004011d1 &lt;+10&gt;:   callq  0x401bd7 &lt;bomb_explosion&gt;
  0x00000000004011d6 &lt;+15&gt;:   mov    $0xffffffffffffffff,%rax
  0x00000000004011dd &lt;+22&gt;:   jmp    0x401214 &lt;phase_2+77&gt;
  0x00000000004011df &lt;+24&gt;:   not    %rsi
  ...
  </code></pre>