6 .type _strcmp,@function
8 mov #-1, r3 ; Strictly speaking this is incorrect, but I doubt if anyone will ever know.
9 scmpu ; Perform the string comparison
10 bnc 1f ; If Carry is not set skip over
11 scne.L r1 ; Set result based on Z flag
14 mov #-1,r1 ; Carry not set, result should be negative