Given the x86s register and memory contents below CS 1075H

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]

Solution

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

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 =

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site