subject

This information is provided so that you can answer questions 1 through 5. The following is a partial main procedure with a call to a sub-procedure which will calculate the factorial of an integer argument x, and store the result (x!) in memory. The initial address of the top of the stack (the value of ESP) is 0A50h The value of X is 12 (decimal) The address of result (DWORD) is 1200h The address of the nextStep code label is 2080h The initial value in EBP is 3Bh .data x DWORD 12 result DWORD ? .code main PROC PUSH OFFSET result PUSH х CALL factorial nextStep: ;... exit main ENDP factorial PROC PUSH EBP MOV EBP, ESP MOV EAX, 1 MOV ECX, A L ; value of parameter x again: MUL LOOP ЕСх again MOV EDI, ; address of result EAX MOV POP ; save the factorial in result EBP RET D factorial ENDP ; deconstruct stack frame END MAIN Please select the text that should be placed in the blank space labeled A in question 1. O [EBP+12] O [EBP+8] 0 2080h O [EDI] Question 2 2 pts Please select the text that should be placed in the blank space labeled B in question 1. 0 2080h O (EDI) [EBP+12] O [EBP+8] Question 3 2 pts Please select the text that should be placed in the blank space labeled C in question 1. O[EDI] O 2080h O [EBP+12] O [EBP+8] Question 4 1 pts Please select the number that should be placed in the blank space labeled D in question 1. 04 08 O2 O 12 O 16 Question 5 2 pts What hexadecimal number will ESP contain when the MOV EAX, 1 instruction is executed (this is referring to the code in question 1)?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:00
Which action describes an aspect of technological design?
Answers: 1
question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
*write a program that defines symbolic names for several string literals (chars between quotes). * use each symbolic name in a variable definition. * use of symbolic to compose the assembly code instruction set can perform vara = (vara - varb) + (varc - vard); ensure that variable is in unsigned integer data type. * you should also further enhance your symbolic logic block to to perform expression by introducing addition substitution rule. vara = (vara+varb) - (varc+vard).
Answers: 1
You know the right answer?
This information is provided so that you can answer questions 1 through 5. The following is a partia...
Questions
question
Mathematics, 13.02.2022 03:40
question
Mathematics, 13.02.2022 03:50
question
Mathematics, 13.02.2022 03:50
question
Mathematics, 13.02.2022 03:50
question
Health, 13.02.2022 03:50
question
Mathematics, 13.02.2022 03:50
question
Mathematics, 13.02.2022 03:50
Questions on the website: 13722363