随笔分类 -  OS

摘要:While static libraries are useful and essential tools, they are also a source of confusion to programmers because of the way the Unix linker uses them to resolve external references.During the symbol resolution phase, the linker scans the relocatable object files and archives left to right in the sa 阅读全文
posted @ 2014-03-23 09:28 sangoly 阅读(221) 评论(0) 推荐(0)
摘要:The combination of the new hardware supplied by Intel and AMD ,and the new versions of GCC targeting these machines makes x86-64code substantially different from that generated for IA32 machines. The main features include:1、Pointers and long integers are 64 bits long. Integer arithmetic operations s 阅读全文
posted @ 2014-03-02 10:12 sangoly 阅读(172) 评论(0) 推荐(0)
摘要:Not all conditional expressions can be compiled using conditional moves. Most significantly, the abstract code we have shown evaluates both then-expr and else-expr regardless of the test outcome. If one of those two expressions could possibly generate an error condition or a side effect, this coul.. 阅读全文
posted @ 2014-02-26 11:45 sangoly 阅读(462) 评论(0) 推荐(0)
摘要:CF: Carry Flag.The most recent operation generated a carry out of the most significant bit. Used to detect overflow for unsigned operations.ZF: Zero Flag. The most recent operation yielded zero.SF: Sign Flag. The most recent operation yielded a negative value.OF: Over Flag. The most recent operation 阅读全文
posted @ 2014-02-25 13:39 sangoly 阅读(178) 评论(0) 推荐(0)