Question: assembly language question, which one is the correction answer? Assume that pString is a double word that contains the offset of a string. Which of

assembly language question, which one is the correction answer?
Assume that pString is a double word that contains the offset of a string. Which of the following letter choices contains code that will set EAX to the length of the string? (The length should not count the string's null byte.) mov edi.pString mov eax,0 cmp BYTE PTR [edi],0 jae L2 inc edi L1: inc eax ne L1 L2: mov edi.pString mov eax,0 cmp BYTE PTR [edi],0 jne L2 inc edi jmp L1 L1: L2: mov edi,pString mov eax, L1: cmp BYTE PTR [edi],0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
