Assembly language
文章平均质量分 83
云雷奋发雪月空明
这个作者很懒,什么都没留下…
展开
-
CFI directives
CFI support for GNU assembler (GAS)Modern ABIs don't require frame pointers to be used in functions. However missing FPs bring difficulties when doing a backtrace. One solution is to provide Dwa原创 2013-07-29 15:07:15 · 1008 阅读 · 0 评论 -
C语言函数调用
1: 指令call instructiontempEIP <-- EIP + DEST; (* DEST is rel32 *)IF tempEIP is not within code segment limit THEN #GP(0); FI;IF stack not large enough for a 4-byte return addressTHEN #SS(0);原创 2013-07-29 16:29:07 · 790 阅读 · 0 评论 -
CPU Switches from Kernel mode to User Mode on X86 : When and How?
详解转载 2013-08-06 11:10:40 · 2049 阅读 · 0 评论 -
gcc trick
QuestionI have recently installed XUbuntu 11.10 64bit, but I am having problem compiling the most simple pthread example.Here is the code pthread_simple.c:#include #include main() { pthre转载 2013-08-09 11:08:31 · 576 阅读 · 0 评论 -
rep movs loads stos
repOperationIF AddressSize = 16 THEN Use CX for CountReg; Implicit Source/Dest operand for memory use of SI/DI; ELSE IF AddressSize = 64 THEN Use RCX for CountReg;原创 2013-09-16 13:11:40 · 919 阅读 · 0 评论 -
operand order in x86 assembly language
order in x86 assembly languageADD—AddOpcode Instruction Op/En 64-bit Mode Compat/Leg Mode Description04 ib ADD AL, imm8 I Valid Valid Add imm8 to AL.05 iw ADD AX, im原创 2014-05-05 10:27:51 · 753 阅读 · 0 评论