Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. (T/F) The stack in the Pentium is a FIFO structure. 2. (T/F) Before pushing a

ID: 3543734 • Letter: 1

Question

1. (T/F) The stack in the Pentium is a FIFO structure.                 

                

                    2. (T/F) Before pushing a word onto the stack, EIP is decremented by 2.                 

                

                    3. (T/F) push AL is a valid instruction.                 

                

                    4. (T/F) The enter instruction saves EBP.                 

                

                    5. (T/F) To pass-by-value, we push the address of the parameter onto the stack.                 

                

                    6. (M/C) To access parameters on the stack in a called procedure, we normally use the ____                     register.                 

                

                           a. ESP register c. EBP register                 

                

                           b. EBX register d. SS register                 

                

                    7. (M/C) To point to the top of the stack, we would use the __________ register.                 

                

                           a. ESP c. ES                 

                

                           b. ESI d. EBP                 

                

                    8. (M/C) If the address in ESP is 100H and we perform the following operation, push AX, the                     contents of ESP will be                 

                

                           a. 102H c. FFEH                 

                

                           b. 100H d. FFCH                 

Explanation / Answer

1 f
2 f
3 f
4 t
5 f
6 c. EBP register
7 c. EBP register
8 a