开发者

problem running this assembly program

开发者 https://www.devze.com 2023-03-06 04:46 出处:网络
I have this previous year exam question which i need to understand. This uses 8bit Atmel processor Can you explain to me what would happen?

I have this previous year exam question which i need to understand. This uses 8bit Atmel processor

Can you explain to me what would happen?

Image file : http://i.stack.imgur.com/Sv6fJ.jpg

Please view image file for clear description of the problem.

Thank you very muc开发者_JS百科h!


The exam question says "this process is only allowed to have one page in main memory".

  1. The program takes two pages. If a process can only have one page in memory, what does that imply?
  2. Where in the program does the break between pages fall? What is the program doing on either side of the break?
  3. Given the answers to (1) and (2), what does that mean for the efficiency of the program?
  4. Given (3), where might you want the page break to fall?
  5. How could you change where in the program the page break is?
0

精彩评论

暂无评论...
验证码 换一张
取 消