这部机器只能以精确的线性顺序执行它接收到的操作指令。
It could only perform operations in the precise linear order it received instructions.
对于新入门的汇编语言程序员来说,不太明显的一个问题是指令的顺序会影响程序执行速度。
What is not usually apparent to new assembly language programmers is that the order of instructions affects the speed of the program.
注意到thread_function线程按顺序执行了它的所有指令。
Notice that our thread_function thread executes all its instructions in order.
It ran through that sequence of instructions, in particular it bound x to the value three, x and then it took x times x, got the value of x multipied by x, which of course is nine, bound that to the value of x, and then it printed out the value, and now it's sitting here waiting for an input.
程序按照指令的顺序去执行的,首先是把x和3这个值进行了绑定,然后把x乘以,得到了x乘以x的值,当然也就是9了,然后把x和这个值进行了绑定,然后显示出这个值,然后就等待输入。
应用推荐