KEIL C51的XBYTE关键字

来源:互联网 发布:文员办公软件视频教程 编辑:程序博客网 时间:2024/04/29 09:41

XBYTE

The XBYTE macro allows you to access individual bytes in the external data

memory of the 8051. You may use this macro in your programs as follows:

rval = XBYTE [0x0002];

XBYTE [0x0002] = 57;

to read or write the contents of the byte in external data memory at address

0002h.

 

 

原创粉丝点击