数据指针(DPTR)是单片机中一个功能比较特殊的寄存器,片外RAM寻址用的地址寄存器(间接寻址)可以将外部RAM中地址的内容传送到内部RAM的地址所指向的内容中。
这两个数据指针之间,有4个字节的间隔。
也就是说,它会在对象销毁时删除数据指针。
That is, it will delete the Pointers of data at the object destruction.
数据指针值无效。
As we all know, this only works if there is a pointee, which kind of gets back to rule number one.
众所周知,只有当有指针数据时,这个才起作用,这有点像第一条规则。
Instead if we want this pointer to represent the address of something in as much as it points at that address let's just draw an arrow.
如果我们想要让这个指针表示,数据的地址,它指向的地址,我用一个箭头表示。
Number one, the basic structure is that you have a pointer and it points over to a pointee, but the pointer and pointee are separate and the common error is to set up a pointer but to forget to give it a pointee.
第一,基本结构是,你有一个,指向数据的指针,但是那个指针和数据,是分开的,通常错误是声明了一个指针,但是没有指向一个数据。
应用推荐