Please help me!!
i have been finding it difficult to run this code in sequence but it usually stopes at displaying my name.
global _start
_start:
mov eax,4 ;sys_write
mov ebx,1 ;To stdout
mov ecx,urname ;'Input some data: '
mov edx,urname_size
int 80h ;Call kernel
mov eax,3 ;sys_read. Read what user inputs
mov ebx,0 ;From stdin
mov ecx,inp_buf ;Save user input to buffer.
int 80h
push eax
mov eax,4
mov ebx,1
mov ecx,Yname ;'You entered: '
mov edx,Yname_size
int 80h
mov eax,4
mov ebx,1
mov ecx,inp_buf
pop edx
int 80h
mov eax,1
mov ebx,0
int 80h
;next line
mov eax,4 ;sys_wite
mov ebx,1 ;To stdout
mov ecx,old ;'Input some data: '
mov edx,old_size
int 80h ;Call kernel
mov eax,3 ;sys_read. Read what user inputs
mov ebx,0 ;From stdin
mov ecx,inp_buf ;Save user input to buffer.
int 80h
push eax
mov eax,4
mov ebx,1
mov ecx,age ;'You entered: '
mov edx,age_size
int 80h
mov eax,4
mov ebx,1
mov ecx,inp_buf
pop edx
int 80h
mov eax,1
mov ebx,0
int 80h
section .bss
inp_buf resb 1000
section .data
urname: db 'What is your name: '
urname_size: equ $-urname
Yname: db 'Your name is: '
Yname_size: equ $-Yname
old: db 'How old are you: '
old_size: equ $-old
age: db 'Your age is: '
age_size: equ $-age