diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-11 15:44:44 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-11 15:44:44 +0100 |
| commit | d6240e3f6aeb342aaf13284c7cc93226970648aa (patch) | |
| tree | a5fef5bd1d55e0dd63cb986a445254cf8caa94ce /ft_write.s | |
| parent | cd5c9e6a923878e797212d27476ee217eb844a14 (diff) | |
| download | libasm-d6240e3f6aeb342aaf13284c7cc93226970648aa.tar.gz libasm-d6240e3f6aeb342aaf13284c7cc93226970648aa.tar.bz2 libasm-d6240e3f6aeb342aaf13284c7cc93226970648aa.zip | |
Replaced tab with spaces
Diffstat (limited to 'ft_write.s')
| -rw-r--r-- | ft_write.s | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -27,15 +27,15 @@ global M_FT_WRITE section .text ; int ft_write(int rdi, const void *rsi, size_t rdx); M_FT_WRITE: - mov rax, M_SYSCALL_WRITE - syscall + mov rax, M_SYSCALL_WRITE + syscall %ifdef __LINUX__ cmp rax, 0 jl FT_WRITE_ERROR %else jc FT_WRITE_ERROR %endif - ret + ret FT_WRITE_ERROR: %ifdef __LINUX__ neg rax @@ -43,5 +43,5 @@ FT_WRITE_ERROR: push rax call M_ERRNO_LOCATION wrt ..plt pop qword [rax] - mov rax, -1 - ret + mov rax, -1 + ret |
