《计算机组成及汇编语言原理》学习第 6 天,p86-p115 总结,总计 20 页。
一、技术总结
1.if statement
2.loop
在许多编程语言中,有类种循环:一种是在程序开头检测条件(test the condition),另一种是在程序末尾检测条件。
3.Collatz conjecture(考拉兹猜想)
对于每一个正整数,如果它是奇数,则对它乘3再加1,如果它是偶数,则对它除以2,如此循环,最终都能够得到1。
二、英语总结(生词:3)
1.decrement
在大部分的词典中,decrement都只做名词,但是在计算机领域,也可以做动词。
vt. cause a discrete reduction in(a numerical quantity)。
p86, In this case, go to the beginning of the block (and decrement the counter).
2.presume
(1)presume: pre-(“before”) + sumere(“to take, obtain, buy”)
vt. reflect the idea of taking sth as ture or acting on it before having full proof(假设)。
p115, For example, every method in the JVM is presumed to run in its own self-contained environment; changing a local variable in one method will not affect any other method.
3.photon
(2)photon: pho-(“light”) + -on(“unit”)
c. a single unit of light(光子)。
4.deliver
(1)deliver: de-(“away, off”) + liberare(“to free”)
deliver 原始意思是“to set free” 或者 “to liberate”,后面演变为“to hand over(to give something to someone else, 把 xxx 交给)”, “to convey(to take sth to a particular place,传输)”
p116, In addition, making a faster CPU chip might not be helpful if the CPU can now process data faster than the memory and bus can deliver it.
三、其它
chapter 04简评:依然是介绍汇编语言的用法。
Build a better mousetrap, and the world will beat a path to your door。
四、参考资料
1. 编程
(1) Patrick Juola,《计算机组成及汇编语言原理》:https://book.douban.com/subject/3069889/
2. 英语
(1) Etymology Dictionary:https://www.etymonline.com
(2) Cambridge Dictionary:https://dictionary.cambridge.org
欢迎搜索及关注:编程人(a_codists)