Question: The following C + + function declares local variables X and Y: void MySub ( ) { int X = 1 0 ; int Y
The following C function declares local variables X and Y:
void MySub
int X ;
int Y ;
Which of the following shows the procedure entry code generated by MASM when the LOCAL directive is used to declare the variables X and Y
a
push EBP
mov EBP, ESP
sub ESP,
b
mov EBP, ESP
push EBP
sub ESP,
c
push EBP
mov ESP, EBP
subESP
d
push EBP
mov EBP, ESP
add ESP,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
