.model small
.code
main proc
mov ax,@data
mov ds,ax
mov si,offset list
mov cx,10
mov al,0
mov [si],al
add al,1
inc si
mov [si],al
mov al,0
back:add al,[si]
inc si
mov [si],al
dec si
mov al,[si]
inc si
loop back
mov ah,4ch
int 21h
main endp
.data
list db 10 dup(?)
end
.code
main proc
mov ax,@data
mov ds,ax
mov si,offset list
mov cx,10
mov al,0
mov [si],al
add al,1
inc si
mov [si],al
mov al,0
back:add al,[si]
inc si
mov [si],al
dec si
mov al,[si]
inc si
loop back
mov ah,4ch
int 21h
main endp
.data
list db 10 dup(?)
end
poyi saav
ReplyDeletepoyi chavada myrea
ReplyDeleteeda nink entelm kazhiv indo .... kalaparamayi kazhiv indo....ninne njn kandaal thuppm...thoori eriym....poyi chaavada naari
ReplyDeleteeda nink daddy ondoooo
ReplyDelete