diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-17 18:16:54 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-17 18:16:54 +0200 |
commit | 3d61f333252d4f569068f48cfad896fdc9cc15e8 (patch) | |
tree | eac82c30e6b3c9e56a8022ea756dd006cfe84c46 /asm/jo_c_args.asm | |
parent | Still bus error, it's not willing to print (diff) | |
download | lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.tar.gz lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.tar.bz2 lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.tar.xz lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.tar.zst lowbat-bsd-3d61f333252d4f569068f48cfad896fdc9cc15e8.zip |
aaaaaaaaa ok
Diffstat (limited to 'asm/jo_c_args.asm')
-rw-r--r-- | asm/jo_c_args.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asm/jo_c_args.asm b/asm/jo_c_args.asm index 47a2032..c18fbf7 100644 --- a/asm/jo_c_args.asm +++ b/asm/jo_c_args.asm @@ -18,7 +18,7 @@ jo_c_args: ; jo_c_args(argc: rdi, *argv[]: rdi) cmp rdi, 0x2 jle no_args push rdi - mov rdi, [rsi + 4 * 0] + mov rdi, [rsi + 8 * 1] push rsi mov rsi, reference mov rdx, len @@ -27,7 +27,7 @@ jo_c_args: ; jo_c_args(argc: rdi, *argv[]: rdi) pop rdi cmp rax, 0x0 jne no_args - mov rax, [rsi + 4 * 0] + mov rax, [rsi + 8 * 2] retq no_args: |