IDATALEN EQU 100H ; the length of IDATA memory in bytes.
;
XDATASTART EQU 0H ; the absolute start-address of XDATA memory
XDATALEN EQU 1000H ; the length of XDATA memory in bytes.
;
PDATASTART EQU 0H ; the absolute start-address of PDATA memory
PDATALEN EQU 0H ; the length of PDATA memory in bytes.
void funcA( int i, char x) small
{ char abc; int *ptr; //分配在data區(qū)
.....
}
void funcB( int i, char x) large
{ char abc; int *ptr; //分配在xdata區(qū)
.....
}