Based on the information generated from the above program, produce a memory map table showing the layout of items listed in subquestion 1 above. The memory map table must show the start addresses of each entity. It should also show the start ar end addresses of the environment and the command line arguments. The memory map table must contain at least the following columns: 1. The start address of an entity 2. The name of the entity, such as p in f2

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter6: Managing Multiple Worksheets And Workbooks
Section: Chapter Questions
Problem 6RA
icon
Related questions
Question
Based on the information generated from the above program, produce a memory map table showing
the layout of items listed in subquestion 1 above.
The memory map table must show the start addresses of each entity. It should also show the start and
end addresses of the environment and the command line arguments.
The memory map table must contain at least the following columns:
1. The start address of an entity
2. The name of the entity, such as p in f2
3. The nature of the item, such as function, local variable, or uninitialsed global variable, etc
4. The memory region, eg, environment, command line arguments, code (or text), constants and
global initialised data, global uninitialed data, stack, and heap, etc.
In addition, you must use seven different background colours to highlight the following seven
memory regions as indicated below:
5. [Green] initialised global variables (including constants and literals)
6. [Red] uninitialised global variables
7. [Blue] stack (containing the local variables and formal parameters of functions)
8. [Magenta] heap (containing the dynamically allocated memories)
9. [Yellow] text (program code, ie, functions)
10. [Cyan] process environment
11. [White] command line arguments
Please also note that in your memory table, the memory addresses must be strictly sequential, from
the lowest address to the highest address to reflect how different entities of a process are layout in
the virtual memory space. Your memory table will not be accepted if the addresses are not lined up
sequentially in the table. If you find that entities from the same memory region are split in more than
one continuous area of memory, it is a sure indication that there is something wrong with your
memory map and you should find out what went wrong and fix it.
I recommend that you enter the above information into an Excel spreadsheet so that I can easily sort
the entities using their addresses.
Transcribed Image Text:Based on the information generated from the above program, produce a memory map table showing the layout of items listed in subquestion 1 above. The memory map table must show the start addresses of each entity. It should also show the start and end addresses of the environment and the command line arguments. The memory map table must contain at least the following columns: 1. The start address of an entity 2. The name of the entity, such as p in f2 3. The nature of the item, such as function, local variable, or uninitialsed global variable, etc 4. The memory region, eg, environment, command line arguments, code (or text), constants and global initialised data, global uninitialed data, stack, and heap, etc. In addition, you must use seven different background colours to highlight the following seven memory regions as indicated below: 5. [Green] initialised global variables (including constants and literals) 6. [Red] uninitialised global variables 7. [Blue] stack (containing the local variables and formal parameters of functions) 8. [Magenta] heap (containing the dynamically allocated memories) 9. [Yellow] text (program code, ie, functions) 10. [Cyan] process environment 11. [White] command line arguments Please also note that in your memory table, the memory addresses must be strictly sequential, from the lowest address to the highest address to reflect how different entities of a process are layout in the virtual memory space. Your memory table will not be accepted if the addresses are not lined up sequentially in the table. If you find that entities from the same memory region are split in more than one continuous area of memory, it is a sure indication that there is something wrong with your memory map and you should find out what went wrong and fix it. I recommend that you enter the above information into an Excel spreadsheet so that I can easily sort the entities using their addresses.
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Types of Database Architectures
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage