Question: Write the assembly code to perform the functionality of a ret instruction without using return. 1. Write the first instruction required to perform the functionality
Write the assembly code to perform the functionality of a "ret" instruction without using return.
1. Write the first instruction required to perform the functionality of a return instruction. Hint: Do not use a 'pop' instruction as that would modify a register or memory which return does not do, but consider what a pop does besides that.
2. Write the second instruction required to perform the functionality of a return instruction. Hint: jmp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
