
Episode 95: How Computers Work Part V - Assembly Language and the Operating System
The Science of Everything Podcast
00:00
How Does a Memory Management Unit Work?
When a programm is loaded from memory and begins executing, all the places in memory that it's going to try and look for itsda are already hard coted into the machine language program. That's a problem because the location of the program's data isn't actually up to the programe. So how do we map the addresses as they are contained in the program instructions to the actual locations in the hardware where the data has been loaded by the operating system? The solution to this is to incorporate a memory management unit into the hardware. And using that mapping, it can convert any virtual address that the programme uses, that the programme sends it, or the process sends it, and convert that
Transcript
Play full episode