diff options
Diffstat (limited to 'src/u_strlen.S')
-rw-r--r-- | src/u_strlen.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/u_strlen.S b/src/u_strlen.S index 27d9663..b1e2447 100644 --- a/src/u_strlen.S +++ b/src/u_strlen.S @@ -2,7 +2,7 @@ .globl u_strlen u_strlen: - movq %rdi, %rcx + mov %rdi, %rcx u_loop: cmpb $0x0, (%rcx) @@ -12,5 +12,5 @@ u_loop: u_ret: sub %rdi, %rcx - movq %rcx, %rax - retq + mov %rcx, %rax + ret |