section .data
    m db 0, 0ah
    x db 4
    y db 6
section .text
    global _start

_start:
    mov bl, [x] ; mette il valore di x nel registro bl
    mov [m], bl ; mette il valore del registro bl in m
    mov bh, [y] ; mette il valore di nel registro y
    cmp bh, bl ; compara bh con bl
    jle nonfarenulla
    mov [m], bh
nonfarenulla:
    mov bl, [m]
    add bl, 48
    mov [m], bl
    mov rax, 1
    mov rdi, 1
    mov rsi, m
    mov rdx, 2
    syscall
    
    mov rax, 60
    mov rdi, 0
    syscall

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: