New answers tagged


But isn't it supposed to be Von Neumann architecture that shares the same memory address space regarding data memory and instruction memory? No, the difference between Von Neumann and Harvard architectures is not in the address space, but in how the underlying physical memory is organized. In a Von Neumann architecture, all memory is equal and any address ...


Memory is general purpose, and can be used for code or data. It is an advantage that both code & data live in the same address space, for software & programming as well as ultimately for the hardware. Software is then free to partition available memory for either code or data as needed by the program, and different programs have different ...


Data hiding is not a bad idea at all. Why don't you declare it as static in function ? In this way you hide the access to it and keep the stack operations deterministic.

Top 50 recent answers are included