; JNE - jump if not equal section .data value1 db 10 value2 db 20 section .text global _start _start: mov al, byte [value1] mov bl, byte [value2] cmp al, bl jne not_equal equal: ;yourcode hre for an equal case not_equal: ; your code here for not equal case done: ; exit code hre mov rax, 60 xor rdi, rdi syscall