1) The following C/C++ function:

void sample(unsigned val1, unsigned val2, char val3)

{

unsigned d1=0, d2=5;

char d3=’x’;

}

is called: sample(9,10,’a’);

draw and label the contents of the function’s stack frame

———————————————————————————————

2) Do all nodes in linked list need to reside in the same segment? explain your answer?

———————————————————————————————

3)What is the purpose of ES register? Given an example in C/C++ of its probable usage?

———————————————————————————————

4)what is the result of the execution of the following code fragment:

for (i=0; i geninterrupt(8);

———————————————————————————————5) How much memory is needed for the largest possible executable program on the 80×86?



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *