随笔分类 -  单片机

摘要:Absolute Variable LocationVariables may be located at absolute memory locations in your C programsource modules using the _at_ keyword. The usage for this feature is:type _memory_space_ variable_name _at_ constant;where:memory_space is the memory space for the variable. If missing from thedeclaratio 阅读全文
posted @ 2012-06-25 19:56 nsoft 阅读(2746) 评论(0) 推荐(0)
摘要:XBYTEThe XBYTE macro allows you to access individual bytes in the external datamemory 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 address0002h. 阅读全文
posted @ 2012-06-25 19:55 nsoft 阅读(420) 评论(0) 推荐(0)