MIPS How do I count the number of characters in a string?
I've got an .asciiz stored in the data segment, and I'm simply trying to count the number of characters in said string.
I know how to form a loop and how to increment the address of the string to look at each character, I just don't know how to
You are looking for the condition that the last character in the string is followed by an Ascii zero, i.e., a NUL byte. The zero is the terminator and is not considered part of the string.