/* strcmp.s 4.4 84/12/02 */
* Compare string s1 lexicographically to string s2.
cmpc3 $32,(r1),(r3) # compare strings
locc $0,$32,-32(r1) # check if contain null
subl2 r0,r3 # back up r3 to same point
mnegb (r3),r0 # r0 = '\0' - *s2
subl3 r0,$32,r0 # check for null in matching string
subb3 (r3),(r1),r0 # r0 = *s1 - *s2
clrl r0 # both the same to null