2 Getting the address of an object in a named address space was
3 considered a read access of that space resulting in inefficiencies
4 (i.e. unnecessary calls to the function for switching address spaces).
10 bool a_accessed
, b_accessed
;
22 #if !defined(PORT_HOST) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) && !defined(__SDCC_mcs51) // For pdk14, pdk15 and mcs51: Need to pass segment ordering to linker somehow, to place space_a somewhere in RAM.
23 __addressmod set_a space_a
;
24 __addressmod set_b space_b
;
27 space_a
int *space_b j
;
32 #if !defined(PORT_HOST) && !defined(__SDCC_pdk14) && !defined(__SDCC_pdk15) && !defined(__SDCC_mcs51)