accept two number without micro
section .data
msg1 db "Enter the 8 bit number:",10
len1: equ -msg2
section .bss
num1 resb 03
section .text
global _start
_start:
mov rax,01h
mov rdi,01h
mov rsi,msg1
mov rdx,len1
syscall
mov rax,00h
mov rdi,00h
mov rsi,num1
mov rdx,2
syscall
mov rax,01h
mov rdi,01h
mov rsi,msg2
mov rdx,len2
syscall
mov rax,01h
mov rdi,01h
mov rsi,num1
mov rdx,2
syscall
mov rax,3ch
mov rdi,00
syscall