1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
UNO [17]
3 years ago
10

A. Assume a computer has a physical memory organized into 64-bit words. Give the word address and offset within the word for eac

h of the following byte addresses:
0, 9, 27, 31,120, and 256.

b. Extend the above exercise by writing a computer program that computes the answer. The program should take a series of inputs that each consist of two values: a word size specified in bits and a byte address. For each input, the program should generate a word address and offset within the word. Note: although it is specified in bits, the word size must be a power of two bytes.
Computers and Technology
1 answer:
Galina-37 [17]3 years ago
7 0

Answer:

Check the explanation

Explanation:

For 9th byte , it is from 8*8 bit to 9"8th bit so each word consists of 64 bits , to find word address u have to divide 8*8 by 64.

Offset within word = 9*8modulo 64.

For 27th byte , word address = 8*27/64.

Offset within word = 27* 8 modulo 64

For 21th byte , word address = 8*31/64

Offset within the word = 31*8 modulo 64

For 120 , word address = 8*120/64

Offset within the word = 120*8 modulo 64.

You might be interested in
Why do we say that IP provides ""best-effort"" service?
Klio2033 [76]

Answer:

 The IP (Internet protocol) provide the "Best efforts service" as it mainly providing the packet delivering service in the networking system for communication.

The IP plays an important role in the communication as it helps the data or information breaks into small packets so that it can efficiently deliver the message to its destination.

The IP is known as best effort service as it delver the data or message to their particular destination with efficiently but it does not provide any type of special service for re-transmitting the lost packet in the network.  

 

4 0
3 years ago
Which statement correctly describes how the density and temperature of air is related .
disa [49]

A. less dense air has a higher temperature

3 0
3 years ago
Assume you're using a three button mouse. to access shortcut menus you would
jekas [21]
<span>Normally you would click the right hand/secondary mouse button but you may configure any of the buttons to work within the Keyboard and Mouse section of System Preferences.</span>
7 0
3 years ago
What color does Sam obtain when he mixes white with a color? Sam is painting a landscape and needs to paint the sky light blue.
drek231 [11]
If you mix white with any color it makes it a lighter shade of that color. For instance mixing white + black = gray, which is a lighter color of black. 

Hope this helps,

kwrob <span />
6 0
4 years ago
Read 2 more answers
Email, instant messaging and most web traffic go across the internet in the clear; that is, anyone who can capture that informat
solniwko [45]
Yes.  Originally ARPAnet (Advanced Research Projects Agency) was conceived as a network between large universities, the government, the military and government contractors. Basically a bunch of friends and aquaintences.  Security really wasn't a consideration until after ARPAnet was opened to the public.
8 0
4 years ago
Read 2 more answers
Other questions:
  • Why is it a good idea to save work in the cloud
    10·2 answers
  • Soo...My Old 3DS XL haven't been touched in around a year...So i tried to charge it but no LED lights opened..Even the power but
    14·1 answer
  • How do i convert videos on the computer
    10·1 answer
  • Using a single formatting _______ helps to make reading researched information easier; it lets the reader know what to expect.
    7·1 answer
  • Which of the following statements best represents the impact vaudeville had on the film industry? Early silent films were more r
    14·1 answer
  • 1.Menciona tres factores o variables que consideras influirán en el oscurecimiento del alimento cortado o pelado expuesto a la i
    8·1 answer
  • Why must a mobile application be easily customized and personalized?
    14·2 answers
  • What is the output of the following code:
    12·1 answer
  • PLEASE HELP ASAPP!!
    7·1 answer
  • Which blu-ray standard defines rewritable disks?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!