Assembly Language
lgorithm Workbench page 202
Write answers and submit pdf file with your answers. Complete program nor output NOT
needed.
1. Write sequence of instructions that will use ONLY PUSH and POP instructions to
exchange values in EAX and EBX.
2. Suppose you wanted a subroutine to return to an address that is 3 bytes higher than the
return address currently on stack. Write a sequence of instructions that will be inserted
just before the RET statement to accomplish this task.