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
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here