《计算机组成及汇编语言原理》学习第 5 天,p82-p85 总结,总计 4 页。
一、技术总结
1.汇编语言(jasmin)
(1)branch instruction
Any statement that might cause the PC to change its value is usually called a “branch” instruction.
(2) label
In assembly language, a human-readable marker for a particular line of code so that that line can be the target of a branch instruction.
"From the programmer’s viewpoint, a label is just a line by itself holding an optional part of any instruction, a word (made up of letters and numbers, beginning with a letter, conventionally a capital letter, and followed by a colon [:]) that marks a particular instruction.
示例:
goto ALabel ;
ALabel:
二、英语总结(生词:6)
1.vilify
(1)vilify:vilis("cheap, worthless") + -fy("to make")
vt. to say unpleasant things about someone, in order to cause other people to have a bad opinion of them(诋毁)。
p83, To summarize the next few sections, this kind of direct control is equivalent to the often vilified goto statement.
2.indoctrinate
(1)indoctrinate:in-("in, within") + doctrine + -ate(构成动词的后缀)
(2)doctrine: teaching
vt. to often repeat an idea to someone until they accept it without criticism or question(灌输)。
p83, Students are taught and indeed practically indoctrinated into an avoidance of such statements, as they can introduce more bugs than a shelf full of ant farms.
3.“Structured Programming’’a Red Herring
Red Herring(红鲱鱼):A metaphor for something that distracts attention from the main issue or misleads people into focusing on the wrong thing(比喻把人们的注意力从主要问题上转移开,或者把人们的注意力误导到错误的事情上)。
相似的用法有:烟雾弹(smoke screen)。
三、其它
今天没有什么想说的。
四、参考资料
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)
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。