title: How to use relative jumps?
body: <p>I have the following questions regarding relative jumps:</p>
  
  <ol>
  <li>I understand that <code>JMP SHORT &lt;displacement&gt;</code> will jump to <code>&lt;displacement&gt;</code> bytes relatively to the current PC. Is that correct?</li>
  <li>Is it true that the assembler will generate an op code of a relative jump automatically? i.e. when I just write <code>JMP &lt;label&gt;</code>, if that label is located within 128 bytes away of the current PC, it will generate a relative jump?</li>
  <li>In case I do want to use <code>JMP SHORT &lt;displacement&gt;</code>, what is the right way to compute the displacement? By inspecting the listing file and calculating offsets?</li>
  </ol>