Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
59 Views

How to do a "jmp 64b address" in X64 ASM pls ?

basically i want to jmp to a 64b address, what i get so far is
FF 25 00 00 00 00 12 34 56 78 12 34 56 78
here 0x1234567812345678 is pointer of the 64bit address i want to jump to.
but it takes 14 bytes.
how can i do the jump in less bytes ?
0 Kudos
1 Reply
Highlighted
New Contributor II
59 Views

you worried about code size or overall size? if its code size, you can place the jump target addr in a global variable and than indirectly jump to it using rip relative addr mode

0 Kudos