re: Daily Challenge #75 - Set Alarm VIEW POST

FULL DISCUSSION
 

x86-64 assembly (NASM syntax):

section .text
global set_alarm
set_alarm:
    mov rax, rsi
    not rax
    and rax, rdi
    ret
code of conduct - report abuse