T
T
Type Programmer2019-06-30 21:51:02
assembler
Type Programmer, 2019-06-30 21:51:02

How does paging work?

There are some misunderstandings in the book, I hope for your help :)
1) The first page of memory is responsible for referring to the first page of memory, the second to the second, and so on?
2) Does the combination of virtual and physical addresses allow you to create something like a redirect?
3) Does the feedback work when if I write to a virtual page there is a redirect to a physical one?
4) For performance in this mode, it is necessary to create pages in the range of which lies the program code?
5) Does paging memory work in parallel with descriptor addressing or is it a replacement?
PS: Please do not hit for the stupidity of the question or for their number. I master the material directly hard, so such stupid questions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2019-06-30
@MegaCraZy6

the program works with virtual memory, which starts from zero.
what is happening in physical memory the program does not even suspect.
there is some table that links virtual memory addresses with physical memory addresses.
all program requests to memory are translated from virtual addresses to physical ones and executed.
for the convenience of slicing, the memory is allocated in identically sized pages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question