Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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],0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started