Question: (i) Identify the missing numbers after the execution of MOVSB. Explain using index registers. What are the base address of offset 500H and 600H,
(i) Identify the missing numbers after the execution of MOVSB. Explain using index registers. What are the base address of offset 500H and 600H, respectively? Answers should be listed in groups for each part. 1+0.5+1=2.5 (ii) After execution of MOVSB Location Register SI Register DI Memory location 500H Memory location 600H Next: Location Register Sl Register DI Memory location 500H Memory location 600H What is the content of the destination string? What will be destination string outcome if DI is decreased by 1 instead of 2 ? 1+1.5=2.5 Source string: Array1 '8886' Destination string: Array2 LEA DI, Array2+3; Ending address of Destination LEA SI, Array1 MOV CX, 4 CLD MOVSB SUB DI, 2 LOOP Next Content 500H 600 '2' 'W' Content adjust DI to pint at next address ; Starting address of Source ; Number of elements = 100 bytes set SI and DI to auto-increment.com
Step by Step Solution
3.38 Rating (151 Votes )
There are 3 Steps involved in it
Here is the answer for Question 1 The MOVSB instruction copies a byte from the source operand SI to the destination operand DI and increments both SI and DI Given that SI 500H and DI 600H the MOVSB in... View full answer
Get step-by-step solutions from verified subject matter experts
