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, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
Which of the following terms refers to a collection of different types of software that share the goal of infiltrating a computer and making it do something? a- malware b- virus c- spyware d- trojan horse
Answers: 2
question
Computers and Technology, 24.06.2019 11:20
Every telecommunication setup uses two devices: one device to transmit data and one device to receive data. which device transmits frequencies to mobile phones? towers transmit frequencies to mobile phones.
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, 18.11.2020 17:10
question
English, 18.11.2020 17:10
question
Computers and Technology, 18.11.2020 17:10
question
English, 18.11.2020 17:10
Questions on the website: 13722360