Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
1135 Discussions

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

ningji
Beginner
1,161 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
1,161 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