[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Determining the bits in the offset of a logical and physical address.

Posted on 2005-05-13
6
Medium Priority
?
817 Views
Last Modified: 2012-05-05
I need help in determining the bits in the offset of a logical and physical address and determining bytes in a page.
0
Comment
Question by:imy2000
  • 4
  • 2
6 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 14001509
If your offset is k bits and your logical address is n bits, then you can have maximum page size of 2^k addressable locations (bytes).

Putting it in another way, given a page size of 2^k you need k bits in the logical address to denote the offset within a page.

If you have some specific question or need some further clarification, feel free to post back
0
 

Author Comment

by:imy2000
ID: 14002433
A computer has 12-bit addresses and a main memory that is divided into 16 frames.  How many bytes are in each page?How many bits are in the offset of a logical and physical address?  
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 14002939
Is this an assignment?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:imy2000
ID: 14003676
does it matter?
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 14004535
Yes
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 200 total points
ID: 14004540
>A computer has 12-bit addresses
What is the maximum amount of memory you can address with 12 bits?

>and a main memory that is divided into 16 frames. How many bytes are in each page?
Divide this maximum memory into 16 equal frames
How much memory would make up a frame

>How many bits are in the offset of a logical and physical address?  
given a page size of 2^k you need k bits in the logical address to denote the offset within a page.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month19 days, 2 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question