Assembly language > Assembly discussions

Short Jumps for X64

(1/1)

Jokaste:

--- Code: ---  [00000001400014E5] E966110000                   jmp               0000000040002650
  [0000000140001517] 4885C0                       test              rax,rax
  [000000014000151A] 7409                         je                0000000140001525
  [000000014000151C] 488D0D9D8F0100               lea               rcx,[000000014001A4C0]
  [0000000140001523] 79B8                         jns               00000001400014DD

--- End code ---


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.

Jokaste:
I had forgotten "JMP SHORT Labelxxxx"!

Navigation

[0] Message Index

Go to full version