Question

Which one of the following references to memory is illegal and causing a trap to the operating system? Please refer to the following picture on Page 341 (Figure 7.9) subroutine stack 1400 segment 3 ment 2400 symbol table segment o limit base 0 1000 1400 1400 6300 2 400 4300 3 1100 3200 4 100O 4700 rt segment 4 3200 main program egment segment table ment 1 segment 2 4700 egment logical address space segment 4 5700 6300 670 Segment 1 physical memory Reference to byte 53 of segment 2 Logical address 5600 from segment 4 Logical address 4052 from segment 3 Reference to byte 1222 of segment 0

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Byte 53 implies 53*8 = 424. The base address for segment 2 is 4300. Thus when we are trying to access the 53rd byte of segment 2, we are in effect trying to access 424+4300 = 4724. 4724 is not there in segment 2. Hence, it will cause a trap to the operating system.

Add a comment
Know the answer?
Add Answer to:
Which one of the following references to memory is illegal and causing a trap to the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • HELP needed urgently....Data and question is attacted below..... Thank you in advance there is no data...

    HELP needed urgently....Data and question is attacted below..... Thank you in advance there is no data link fir this data it’s all in photos.... thank you i have already posted the question We were unable to transcribe this imageNo. 2 3 4 5 6 7 8 Working Sector Public Own Public Public Private Public Private Private Own Own Private Public Public Public Private 9 10 11 12 13 Public IS 16 17 18 19 20 21 22 23 24 25...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT