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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!