;abso_va.asm
;
section .data
FALSE equ 0
TRUE equ 1
ZERO equ 0
;  negativo dd -1
section .text
global abso_va
abso_va:
NEGAT:
cqo
imul rax, -1
push r12
mov r12, 0
mov rax, 0
mov rax, qword[rdi]
cmp rax, ZERO
jb NEGAT
mov r12, rax
mov rcx, r12
pop r12
ret
