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 23:00
Suppose s, t, and w are strings that have already been created inside main. write a statement or statements, to be added to main, that will determine if the lengths of the three strings are in order by length, smallest to largest. that is, your code should determine if s is strictly shorter than t, and if t is strictly shorter than w. if these conditions hold your code should print (the boolean value) true. if not, your code should print false. (strictly means: no ties) example: if s, t, and w are "cat", "hats", and "skies" your code should print true - their lengths are 3-4-5; but if s, t, and w are "cats" "shirt", and "trust", then print false - their lengths are 4-5-5 enter your code in the box below
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
Append and make table queries are called queries. select complex simple action i think action
Answers: 1
question
Computers and Technology, 25.06.2019 09:00
What do students buy when they pay tuition? o a place to live at a school o the right to attend classes at a school o transportation expenses to attend classes o textbooks
Answers: 2
question
Computers and Technology, 25.06.2019 10:00
The default name for the small icon that represents a web site or page, and is displayed in the browsers, typically at the beginning of the url address field, is:
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, 11.02.2022 19:00
question
Mathematics, 11.02.2022 19:00
question
English, 11.02.2022 19:00
Questions on the website: 13722367