阅读背景:

编译器如何知道C中的指针地址是端口映射还是RAM?

来源:互联网 

I know that port mapped IO are accessed thorugh in/out CPU instructions and memory (& memory mapped registers) are accessed through load/store CPU instructions (similar to memory). But, with a pointer in C code, how compiler knows if a address is port mapped IO register or memory and then inserts the correct CPU instructions? I know that port mapped IO are accessed thorugh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: