Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1095 Discussions

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

ningji
Beginner
602 Views
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
neni
New Contributor II
602 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
Reply