Is it possible? Intel documentation says opcode E8 can be used with a relative displacement value.
E8 cd CALL rel32
"Call near, relative, displacement relative to next instruction. 32-bit displacement sign extended to 64-bits in 64-bit mode."
Does it mean only 32 bit displacements are allowed? I am quite unclear on the wording here.
Yes. It means that the opcode is followed by a 32-bit displacement. If you want longer, you can compute it yourself with an lea
and an indirect call.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.