Verify that the following procedure is equivalent to the string_length procedure given in Section 5.10. Which procedure is better and why? string_length1: push EBX sub AX,AX repeat: cmp [EBX],word 0...


Verify that the following procedure is equivalent to the string_length procedure


given in Section 5.10. Which procedure is better and why?


string_length1:


push EBX


sub AX,AX


repeat:


cmp [EBX],word 0


je done


inc AX


inc EBX


jmp repeat


done:


pop EBX


ret



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here