Use the following python3 command line statement to randomly choose
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

Use the following python3 command line statement to randomly choose

Background Reading

The following manual may be available at SAIT (check with your instructor). Otherwise, download a free copy of the manual below. Specific figures in the manual are referred to in this lab.

Intel 64 and IA-32 Architectures Software Developer’s Manual. Combined Volumes: 1, 2A, 2B, 2C, 2D, 3A, 3B, 3C

https://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-manual-325462.pdf 

Volume 3 Chapter 3 “Protected -Mode Memory Management” and Chapter 4 “Paging”

Volume 1 Chapter 6 “ Procedure Calls and Stacks”

Problem 1 Linear Address Translation (Paging)

For details of Linear Address Translation read Intel Manual Volume-3A 4.3 32-bit Paging Use the table from page 2908 of the Intel Manual for the figure “4-2 Linear-Address Translation to a 4Kbyte Page using 32-Bit Paging” required to calculate the physical address below. 

1. Use the following python3 command line statement to randomly choose your values required to perform the Linear address translation.

python3 -c 'import random; print("col 1. row: ",random.randint(1,6)); print("col 2. row: ", random.randint(1,6)); print("col 3. row: ", random.randint(1,6)); print("col 4. row: ", random.randint(1,6)); print("col 5. row: ",random.randint(1,6));'


The output should be 5 columns col1, col2, col3, col4, col5 with respective row. The row can be different or the same for each column.

2. Attach the screen capture that demos the results after running python commands

3. Use the previous results to select from the following table the address for:


a. Linear Address:

b. Page Directory Entry:

c. CR3:

d. Page Table Entry:

e. Page :

4. On the table highlight (color or circle) the selected address for each column 

5. Use the selected addresses and check slides/notes (Module 5) to perform the linear address translation and find the respective physical address. 

Provide the physical address for:

Page Directory (PD):

Page Table Entry (PTE):

Page:

Hint
ComputerSoftware is a collection of instructions, data, or computer programs that are used to run machines and carry out particular activities. It is the antithesis of hardware, which refers to a computer's external components. A device's running programs, scripts, and applications are collectively referred to as "software" in this context....

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.