NO

Author Topic: Short Jumps for X64  (Read 3277 times)

Jokaste

  • Guest
Short Jumps for X64
« on: November 02, 2017, 09:59:44 AM »
Code: [Select]
  [00000001400014E5] E966110000                   jmp               0000000040002650
  [0000000140001517] 4885C0                       test              rax,rax
  [000000014000151A] 7409                         je                0000000140001525
  [000000014000151C] 488D0D9D8F0100               lea               rcx,[000000014001A4C0]
  [0000000140001523] 79B8                         jns               00000001400014DD


I have not found any instruction to have a SHORT JUMP. I had this idea, write a conditionnal jump which always is TRUE. I decided to use JNS. Now I have a SHORT JUMP coded on 2 BYTEs.

« Last Edit: November 02, 2017, 10:06:16 AM by Jokaste »

Jokaste

  • Guest
Re: Short Jumps for X64
« Reply #1 on: November 02, 2017, 11:00:35 AM »
I had forgotten "JMP SHORT Labelxxxx"!