String length (x86, 32-bit, Intel)

Sign in to test your solution.
string_length: xor eax, eax ret