diff options
Diffstat (limited to 'rgo/src/fndchr.S')
-rw-r--r-- | rgo/src/fndchr.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rgo/src/fndchr.S b/rgo/src/fndchr.S index cacea5e..1008e52 100644 --- a/rgo/src/fndchr.S +++ b/rgo/src/fndchr.S @@ -15,14 +15,14 @@ .global rgo_fndchr rgo_fndchr: -#if defined(__x86_64__) /* - rdi: char const * str - sil: char chr + char const * str + char chr */ +#if defined(__x86_64__) /* rax: Address of the current character. */ movq %rdi,%rax - /* dl: Current character. */ + /* rdx: Current character. */ .loop: movb (%rax),%dl cmpb %dl,%sil |