它为每个对C8051架构最为有效的变量指针定义了一组地址空间,无需从程序员那里获得特殊指示。
It defines a set of address Spaces for each pointer variable that is optimally efficient for the C8051 architecture, without any specific direction from the programmer.
指针赋值只应在其他指针或长型变量之间执行。
Pointer assignment should only be performed between other Pointers or variables of type long.
全局变量不会被分配在寄存器上,修改全局变量需要通过指针或者调用函数的方式间接进行。
Global variables are never allocated to registers. Global variables can be changed by assigning them indirectly using a pointer, or by a function call.
Right? I've allocated a variable, it happens to be a pointer; it's still a variable, who know what's in it, right?
对不?我分配了一个变量,它碰巧是一个指针,它还是一个变量,谁知道它里面是什么?
But we said earlier that, you know, we're going to get - to the point where we want to have a lot of pieces of -- a lot of variables in memory, maybe 140,000 dictionary words for some future peace set, but we don't want to enumerate line by line by line 140,000 variables.
但是我们之前说过,你们知道的,我们将获得,有很多块--很多变量的内存的指针-,可能有140,000个单词的集合,但是我们不想一行行地列举,140,000行变量。
When you declare a pointer yourself manually, you do say char * the variable name because recall that's the same thing that we did earlier but we called it instead string.
当你手动声明一个指针是,你可以说char,*,变量名字,因为那是我早些时候做的事情,但是我们叫它为字符串。
应用推荐