|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
When I use the XBYTE macro, what is the largest element I can access? In the following example, how long may Z be?
#define Z 0x0000 XBYTE[Z] = 0xAA; XBYTE[Z] = 0x55;
Macros, like XBYTE and CBYTE, may be used to access explicit memory addresses. These macros access the full XDATA or CODE address spaces which are 64K Bytes long. Therefore, the largest value you may specify for the XBYTE or CBYTE index is 65535.
Article last edited on: 2005-07-15 10:11:15
Did you find this article helpful? Yes No
How can we improve this article?