New Medio技术总监,负责为各公司定制Web应用、移动应用或企业软件解决方案。在此之前,他曾在EDS担任因特网开发经理一职,为Web团队和Wolfram Research提供技术支持。另外,他常在IBM DeveloperWorks社区撰文,介绍从高性能Playstation 3编程到高级元编程技巧等主题。
One of the greatest programmers, Donald Knuth, describes programming not as telling a computer how to do something, but telling a person how they would instruct a computer to do something.
In our case, the kernel is Linux. Now, the kernel all by itself won't do anything. You can't even boot up a computer with just a kernel. Think of the kernel as the water pipes for a house. Without the pipes, the faucets won't work, but the pipes are pretty useless if there are no faucets. Together, the users applications (from the GNU project and other places) and the kernel (Linux) make up the entire operating system, GNU/Linux. (查看原文)
Source code is the human-readable form of a program. In order to transform it into a program that a computer can run, we need to assemble and link it.
The first step is to assemble it. Assembling is the process that transforms what you typed into instructions for the machine. The machine itself only reads sets of numbers, but humans prefer words. An assembly language is a more human-readable form of the instructions a computer understands. Assemble transforms the human-readable file into a machine-readable one.To assemble the program type in the command
as exit.s -o exit.o
as is the command which runs the assembler, exit.sis the source file, and-o
exit.otells the assemble to put it’s output in the fileexit.o. exit.ois an
object file. An object file is code that is in the machine’s lang... (查看原文)
之所以看这本书,是想了解一些跟汇编相关的知识,打开这本书后就被作者的观点——“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(第一遍看不懂,那...
(展开)
1 有用 Eagle 2018-07-05 11:20:39
看了一半,后面草草翻了下,不知道这本书哪里好了,首先这本书的受众我就搞不太懂,汇编入门? 不太够,而且很多东西也不是讲汇编,体系结构? 也不怎么对,程序设计?这么大的topic
0 有用 羽皓 2016-09-15 13:17:14
例子简洁明了,用汇编也更加容易理解。“学无止境”这章还推荐了书目,太良心!
2 有用 谢小漫 2020-03-24 15:27:48
汇编代码手把手教学,照着码就是了。算是基础入门吧,就是Linux的汇编代码照抄编译。
0 有用 heisen 2018-05-06 09:44:13
这本书能够让入门者从汇编的角度去理解程序,入门的时候能了解汇编语言对内存,寄存器的操作, 内存地址的使用, 函数的底层执行, 共享库这些细节能少走不少弯路
0 有用 OuO 2015-07-03 01:05:03
第一次了解汇编语言,加深了c的理解