开发者

*-Operator in gas

开发者 https://www.devze.com 2022-12-29 23:01 出处:网络
can anyone explain what the * in the gnu 开发者_开发技巧assembler does? Example: jmp *0x804a004

can anyone explain what the * in the gnu 开发者_开发技巧assembler does? Example:

jmp *0x804a004

This is an entry in a procedure linkage table (plt), maybe someone can clarify what this instruction does and what the * stands for.


I think the "*" means that the address to call or jmp is absolute. If you don't specify it, "as" will assume that the operand is relative to the program counter (PC relative addressing).

0

精彩评论

暂无评论...
验证码 换一张
取 消