=> R0 = 8
R1 = pointer to address to read string from
R2 = pointer to address to read second string from
<= R0 preserved
R1 = pointer to character after the input's terminator
R2 = pointer to character after the second input's terminator
R3 = -1 for string 1 < string 2
0 for string 1 = string 2
1 for string 1 > string 2
This call compares two strings and returns an integer representing the relationship of the two strings (less than, equal, greater than).
|
|
|