4 ms·
Exactly. The behavior of the actual machine matters! The C language standard defines (pretty imperfectly in the case of processors with multiple address space
by ajross 9y ago
Exactly. The behavior of the actual machine matters!
The C language standard defines (pretty imperfectly in the case of processors with multiple address spaces like the 8051 scratchpad RAM) something like a least common denominator you can rely on to "write portable C".
But that's not truth, nor is "portable C" the goal to all engineering efforts. Pointers are numbers. Scratchpad registers can't have pointers taken to them. Those are truths, even if inconvenient.