Professional Documents
Culture Documents
2 MP
2 MP
: 2
;Rollno. : B-79
section .data
msgLen:equ $-msg
msg2len:equ $-msg2
msg3len:equ $-msg3
section .bss
buffer resb 50
buffer_size:equ $-buffer
count resd 1
dcnt resb 1
buffer_num resd 1
dispnum resb 8
section .text
global _start
mov eax,4
mov ebx,1
mov ecx, msg
int 80h
read:
int 80h
mov eax, 4
mov ebx, 1
int 80h
int 80h
mov eax, 4
mov ebx, 1
int 80h
dec eax
div ebx
loop cnt
int 80h
mov ebx,0
int 80h
---------------------------------------------------------------------------------------------------------
Output