Sunday, December 6, 2020

8086 Program to find addition of sum of series of 16-bit bcd number

Hey!!

Today we will see microprocessor program to find the Sum of Series of 16 bit bcd number using assembly language 8086.

Let's go!!


data segment

array1 dw 5000h,3000h,4000h,6000h,1000h

sum dw ?

data ends

code segment

start :

assume cs:code, ds:data

mov ax,data

mov ds,ax

mov cl,04h

mov si, offset array1

mov ax,[si]

next: inc si

add ax,[si]

daa

dec cl

jnz next

mov sum,ax

mov ah,4ch

int 21h

code ends

end start

 

 

Programs:-

For many other Language Programs of microprocessor 8086, C++ , Data Structures , etc and MSBTE diploma and engineering related concepts visit our  BLOG

 Block transfer OVERLAPPING 

 

No comments:

Post a Comment