section .data
   name db 'Input your name',10
   nameLen equ $-name
section .bss
msg1 resb 5

section .text
    global _start

_start:
    mov rax, 1
    mov rdi, 1
    mov rsi,name
    mov rdx,nameLen
 syscall
    mov rax,0
    mov rdi,0
    mov rsi,msg1
    mov rdx,5
syscall
    mov rax,1
    mov rdi,1
    mov rsi,msg1
    mov rdx,5
 syscall
 section .data
  rollno db 0ah, 'Input your rollno',10
   rollnoLen equ $-rollno
section .bss
msg2 resb 4

section .text
    global _start

_start1:
    mov rax, 1
    mov rdi, 1
    mov rsi,rollno
    mov rdx,rollnoLen
 syscall
    mov rax,0
    mov rdi,0
    mov rsi,msg2
    mov rdx,4
syscall
    mov rax,1
    mov rdi,1
    mov rsi,msg2
    mov rdx,4
 syscall
    section .data
  division db 0ah, 'Input your division',10
   divisionLen equ $-division
section .bss
msg3 resb 6

section .text
    global _start

_start2:
    mov rax, 1
    mov rdi, 1
    mov rsi,division
    mov rdx,divisionLen
 syscall
    mov rax,0
    mov rdi,0
    mov rsi,msg3
    mov rdx,6
syscall
    mov rax,1
    mov rdi,1
    mov rsi,msg3
    mov rdx,6
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: