diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-27 02:14:31 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-27 02:14:31 +0200 |
commit | c57228e66ab9754c78b63e19153439276890c0c8 (patch) | |
tree | 68d5acccba32f61b7424634d9493c9a9749a3622 | |
parent | First file translated (diff) | |
download | lowbat-bsd-c57228e66ab9754c78b63e19153439276890c0c8.tar.gz lowbat-bsd-c57228e66ab9754c78b63e19153439276890c0c8.tar.bz2 lowbat-bsd-c57228e66ab9754c78b63e19153439276890c0c8.tar.xz lowbat-bsd-c57228e66ab9754c78b63e19153439276890c0c8.tar.zst lowbat-bsd-c57228e66ab9754c78b63e19153439276890c0c8.zip |
Removed old version
-rw-r--r-- | asm/c_args.asm | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/asm/c_args.asm b/asm/c_args.asm index c8178d4..7e036a9 100644 --- a/asm/c_args.asm +++ b/asm/c_args.asm @@ -57,34 +57,3 @@ return: .data reference: .asciz "--say" - -/* ;; section .text */ -/* ;; extern strncmp */ -/* ;; global jo_c_args */ -/* */ -/* ;; jo_c_args: */ -/* ;; cmp rdi, 0x2 */ - /* ;; jle no_args */ - /* ;; mov rax, [rsi + 0x8 * 0x2] */ - /* ;; cmp byte [rax + 0x0], 0x0 */ - /* ;; je no_args */ - /* ;; push rdi */ - /* ;; mov rdi, [rsi + 0x8 * 0x1] */ - /* ;; push rsi */ - /* ;; mov rsi, reference */ - /* ;; mov rdx, reflen */ - /* ;; call strncmp */ - /* ;; pop rsi */ - /* ;; pop rdi */ - /* ;; cmp rax, 0x0 */ - /* ;; jne no_args */ - /* ;; mov rax, 0x1 */ - /* ;; retq */ -/* */ -/* ;; no_args: */ -/* ;; xor rax, rax */ -/* ;; retq */ -/* */ -/* ;; section .data */ -/* ;; reference: db "--say", 0x0 */ -/* ;; reflen: equ $ - reference */ |