3 ms·
> and load from address 0x12345678 and most likely seg fault, or similar
by zabzonk 3y ago
> and load from address 0x12345678
and most likely seg fault, or similar
- adwn 3y ago1. If the CPU lacks an MMU and the address falls into an accessible address space, it won't segfault. 2. If the CPU has an MMU, it won't segfault if the address is mapped to an accessible region of memory. 3. This is besides the point, because the CPU will execute the instruction and attempt to load from that address. A C compiler might emit the load instruction, or it might assume that this code branch will never be executed and can therefore be replaced with code that sends an angry email to your mother.