From 396a5d42f979c5200532937f3428d68e049b1298 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 17 Apr 2020 14:41:20 +0200 Subject: Fetch percent is ok --- asm/jo_f_status.asm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'asm/jo_f_status.asm') diff --git a/asm/jo_f_status.asm b/asm/jo_f_status.asm index 69fad67..326f58e 100644 --- a/asm/jo_f_status.asm +++ b/asm/jo_f_status.asm @@ -32,20 +32,17 @@ jo_f_status: mov rdi, rax mov rsi, buff mov rdx, 0x1 - push rax mov rax, 0x3 syscall jc err - pop rax - mov rdi, rax mov rax, 0x6 syscall movsx rax, byte [rsi + 0x0] - sub rax, 0x30 ; 48 + sub rax, 0x30 ; 48 retq err: - mov rax, 0xff + mov rax, 0xfe retq section .data -- cgit v1.2.3