I've got an assignment coming up that involves a small portion of 80x86 assembly language programming. I've got a couple of questions:
1.) how do you specifiy a null character? my code needs to count the length of a string by comparing each letter to a null, and stopping the counting when the null character is reached.
2.) is the CMP operator proper to use when comparing a loaded register with the null character?
1.) how do you specifiy a null character? my code needs to count the length of a string by comparing each letter to a null, and stopping the counting when the null character is reached.
2.) is the CMP operator proper to use when comparing a loaded register with the null character?