Difference between revisions of "Widget:PageTableDemo"

From COMP15212 Wiki
gravatar W81054ch [userbureaucratinterface-adminsysopPHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPmludGVyZmFjZS1hZG1pbjxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+] (talk | contribs)
gravatar W81054ch [userbureaucratinterface-adminsysopPHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPmludGVyZmFjZS1hZG1pbjxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+] (talk | contribs)
 
Line 2: Line 2:
 
This widget demonstrates the operation of a page table.
 
This widget demonstrates the operation of a page table.
  
[{{canonicalurl:Special:ShowWidget|widget=PageTableDemo|library}} Dark-mode widget for embedding]
+
[{{canonicalurl:Special:ShowWidget|widget=PageTableDemo&library}} Dark-mode widget for embedding]
  
 
{{#widget:PageTableDemo}}
 
{{#widget:PageTableDemo}}

Latest revision as of 17:55, 22 November 2019

This widget demonstrates the operation of a page table.

Dark-mode widget for embedding

Interactive demonstration

Virtual Address in hex
Virtual Address in binary
Virtual Address index (3 bits)
Virtual Address offset (5 bits)
Physical Address

Exercise: play with this mechanism until you understand the principle.
 
Click a page table entry to change the valid bit and set the page frame number.