6 .type _strcmp,@function
8 #ifdef __RX_DISALLOW_STRING_INSNS__
18 3: and #0xff, r4 ; We need to perform an unsigned comparison of the bytes.
23 mov #-1, r3 ; Strictly speaking this is incorrect, but I doubt if anyone will ever know.
24 scmpu ; Perform the string comparison
25 bnc 1f ; If Carry is not set skip over
26 scne.L r1 ; Set result based on Z flag
29 mov #-1,r1 ; Carry not set, result should be negative
32 .size _strcmp, . - _strcmp