movq $record1, %rsi # Load the address of the first record call write_record # Write the second record movq (%rsp), %rdi # Load the file descriptor movq $record2, %rsi # Load the address of the second record call write_record # Write the third record movq (%rsp), %rd...
也写作leg-work,u.the boring work that need to be done。Originally news reporter slang for an assignment that promised(这里不是“承诺”的意思,而是“很可能(to seem likely)”) more walking than copy. 3.evident p219, One thing about Perl that isn’t so evident from this example is that Pe...
《Programming from the Ground Up》学习第10天,p181-p216总结,总计34页。 一、技术总结 第10章主要讲计算机是如何计算的,如十进制、二进制、八进制、十六进制以及浮点数和负数的表示。属于比较基础的内容,如果有一定基础,本章可跳过。 1.exponent & mantissa 示例:p197, 12345.2 is stored as 1.23452 * 10^...
《Programming from the Ground Up》读后感 之所以看这本书,是想了解一些跟汇编相关的知识,打开这本书后就被作者的观点——“If you don't understand something the first time, reread it. If you still don't understand it, it is sometimes best to take it by faith and come back to it later(第一...
Programming from the Ground Up is an introduction to programming using assembly language on the Linux platform for x86 machines. It is a great book for novices who are just learning to program as well as for intermediates who have never learned or mastered assembly language programming. It covers...
《Programming from the Ground Up》学习第5天,p88-p94总结,总计7页。 一、技术总结 1.touppercase.s #PURPOSE: This program converts an input file #to an output file with all letters #converted to uppercase. #PROCESSING: #(1)Open the input file #(2)Open the output file #(3)While we're...
《Programming from the Ground Up》学习第6天,p95-p102总结,总计8页。 一、技术总结 1.directive(伪指令) 很多资料喜欢把directive和instruction都翻译成“指令”,这样在看到指令这个词时就不知道到底指的是什么?这里参考其它人的做法,将directive称为“伪指令”。
《Programming from the Ground Up》阅读笔记:p103-p116 《Programming from the Ground Up》学习第7天,p103-p116总结,总计14页。 一、技术总结 1.读写文件 (1)linux.s linux.s: #file name:linux.s # system call numbers(按数字大小排列,方便查看)...
之所以看这本书,是想了解一些跟汇编相关的知识,打开这本书后就被作者的观点——“If you don't understand something the first time, reread it. If you still don't understand it, it is sometimes best to take it by faith and come back to it later(第一遍看不懂,那就看第二遍;还是看不懂,记...
《Programming from the Ground Up》学习第3天,p49-p74总结,总计26页。 一、技术总结 1.function (1)定义 p49, Functions are unit of code that do a defined piece of work on specified types of data。 函数是在指定类型的数据上完成所定义的某个工作的代码单元。