Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Given the x86\'s register and memory contents below: CS = 1075H IP = 0300H EDX =

ID: 1841093 • Letter: G

Question

Given the x86's register and memory contents below:
                    CS = 1075H
                    IP = 0300H
                    EDX = 10101000H
                    EBP = 00000100H
                    EDI = 00000100H
                    DS:100H = 00H                 

                

                    DS:101H = 10H
                    SS:200H = 00H
                    SS:201H = 01H
                    SS:202H = 00H
                    SS:203H = 10H
                    After executing each CALL instruction independently, what is the address of the
                    next instruction?
                    a. CALL 0850H
                    b. CALL WORD PTR [150H]
                    c. CALL DWORD PTR [BP+DI]

Explanation / Answer

Call Function is operated in two ways

1) Call By Value

2) Call By Reference

After Executing each CALL instruction independently adress of Next instruction is

CALL DWORD PTR [BP+DI]

BP=Base Pointer

DI= Destination Index

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote