diff options
Diffstat (limited to 'newlib/libc/machine/h8300/strcmp.S')
-rw-r--r-- | newlib/libc/machine/h8300/strcmp.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/machine/h8300/strcmp.S b/newlib/libc/machine/h8300/strcmp.S index 4433af523..2ee31f05c 100644 --- a/newlib/libc/machine/h8300/strcmp.S +++ b/newlib/libc/machine/h8300/strcmp.S @@ -14,7 +14,11 @@ _strcmp: mov.b @A3P+,A0L cmp.b A0L,A1L beq .L5 +#ifdef __NORMAL_MODE__ + sub #1,A3P +#else subs #1,A3P +#endif .L3: mov.b @(-1,A2P),A0L mov.b @A3P,A1L |