Question & Answer: Examine the following assembly instructions, and answer the subsequent questions. a. Inside the f…..

28. (30 pts) Examine the following assembly instructions, and answer the subsequent questions. 0020 mov el, [ebp 0x0C value here -0x20 0023 mov al, [ebp0x08 value hereOxF 0026 cmp al, cl 0028 3g label labe1 is at address 003c,ned 002A nop 0028 0041 label: sub al, a. (5 pts) Inside the function, assuming the typical stack frame, what is at the address ebp+0x08 with respect to a C function call? b. (5 pts) Given a signed operation, al is (greater than, less than) cl? c. (5 pts) What is the address from which the offset for the jg instruction is calculated? d. (5 pts) What is the value of the offset for the jg instruction? (5 pts) What is the difference between the cmp instruction at address 0x26 and the sub instruction at address 0x41? e. (5 pts) Suppose ecx = 0x12345678 prior to executing the code above, what is the new value after executing the code at address 0020. f. BONUS:(10 pts) What is the opcode for a NOP? What is the opcode for a software interrupt? Help please

Examine the following assembly instructions, and answer the subsequent questions. a. Inside the function, assuming the typical stack frame, what is at the address ebp + 0 times 08 with respect to a C function call? b. Given a signed operation, al is (greater than, less than) cl? c. What is the address from which the offset for the jg instruction is calculated? _____ d. What is the value of the offset for the jg instruction? e. What is the difference between the “cmp” instruction at address 0 times 26 and the “sub” instruction at address 0 times 41? f. Suppose ecx = 0 times 12345678 prior to executing the code above. What is the new value after executing the code at address 0020. exc = 0x _____ BONUS: What is the opcode for a NOP? What is the opcode for a software interrupt?

Expert Answer

 

Question & Answer: Examine the following assembly instructions, and answer the subsequent questions. a. Inside the f..... 1

Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: Examine the following assembly instructions, and answer the subsequent questions. a. Inside the f…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
Order Essay

Still stressed from student homework?
Get quality assistance from academic writers!