|
From: Philipp K. K. <pk...@sp...> - 2025-01-14 10:01:14
|
Another use-case for pointers not part of the generic address space would be pointers to __sfr. For some architectures (mcs51, pdk), the hardware doesn't have good support for pointers to __sfr, so no point implementing them. For some (stm8, f8, sm83), __sfr is a susbet of the generic space. For others (z80-related excpet sm83), __sfr is not part of the generic address space. Here it would make sense to allow pointers to __sfr without having to make the generic pointers wider. Philipp P.S.: __sfr is a rather mcs51-centric name. Maybe __io would be a good alternative spelling of the keyword? |