summaryrefslogtreecommitdiff
path: root/asmnc.asm
diff options
context:
space:
mode:
Diffstat (limited to 'asmnc.asm')
-rw-r--r--asmnc.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/asmnc.asm b/asmnc.asm
index 51bfb3e..8f31243 100644
--- a/asmnc.asm
+++ b/asmnc.asm
@@ -19,7 +19,7 @@ _main: ;int(int argc,char **argv)
mov rax, [rsi+8]
mov [.hoststrp], rax
- mov rax, [.str80]
+ lea rax, [.str80]
cmp rdi, 2
cmovg rax, [rsi+16]
mov [.portstrp], rax