We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I set the following target options: 0x0000:0xfc00 ROM,0xfc00:0x100 RAM,0x10000:0x20000 ROM,0x30000:0x4c380 RAM I want to use the 0xfc00:0x100 area for my hardware interface.what can I do?The following code results in linker error
#define ATAPI_INTERFACE_BASE_ADDR 0XFC00 unsigned char xdata atapi[0x100] _at_ ATAPI_INTERFACE_BASE_ADDR; void main(void) { ...... }
*((unsigned char xdata *)ATAPI_INTERFACE_BASE_ADDR) = 0x00;