for-each 是循环指令。
它可用于保存可以在执行Branch指令期间递减的循环计数。
It can be used to hold a loop count that can be decremented during execution of Branch instructions.
由于Quantify为每个指令都测量机器循环的数量,所以当应用程序运行在远程机器上的gdb之下时,也能生成有用的数据。
Since Quantify measures the number of machine cycles for each instruction, it generates useful data even when run under GDB on a remote machine.
And I want to remind you, that block of code is a set of instructions, the same set of instructions that are going to be done each time through the loop.
我想提醒大家,这块代码是一个指令集,一个每次循环都会被执行的相同指令集,会变化的仅仅是变量的值。
And when I'm done with the whole thing, before I end the increment of the variable, you know, when I'm done, I'm just not returning anything out.
在循环外面初始化它,然后做一个终结测试,然后在循环内部有一个指令集,在这个例子中,就是对余数做检查,然后显示信息,当我完成了整个循环。
应用推荐