I've been working with a lot of assembly, and reviewing virtual memory I've run into some new confusion.
Briefly, I don't understand how an address in assembly, the code that interfaces with the processor directly, could be converted from a virtual address to a physical address.
I was always told that the operating system handled mapping from virtual to physical memory, but assembly directly references an address without any system calls, how could the OS intervene if it isn't called directly?
Where does an address, (mov eax, [0xDEADBEEF]), get translated from the virtual address space to the physical address space using the page table in the OS without specifically calling the OS?
x86
andx86-64
use paging: en.wikipedia.org/wiki/Page_table