You need to write a function (in the language of your choice)that, given in input 5 arrays (Stack, Dynamic, BSS, Data, Text), isable to generate the corresponding address space based on thecontent of these arrays.
Example of content (separate by comma) for such arrays:
Stack: 30, -5, ‘a’, 3.6, “ciao”Dynamic: 900, 50, 10BSS: 30, -5, ‘a’, 3.6, “ciao”Data: 30, -5, ‘a’, 3.6, “ciao”Text: x10, xa4, x30
Expert Answer
An answer will be send to you shortly. . . . .