Monday, September 13, 2021

8086 ASSEMBLY PROGRAM TO FIND Sum of Series of 8 bit Hexadecimal number

data segment

array1 db 50h,30h,40h,60h,10h

sum db ?

data ends

code segment

start :

assume cs:code, ds:data

mov ax,data

mov ds,ax

mov cl,04h

mov si, offset array1

mov al,[si]

next: inc si

add al,[si]

dec cl

jnz next

mov sum,al

mov ah,4ch

int 21h

code ends

end start

 

Block transfer OVERLAPPING 
Block transfer(Simple Program)
Block Transfer(REVERSE ORDER)
Addition of 8-bit  BCD8086 program
addition of 16-bit bcd program
Division of 32/16 bit program
Subtraction of 8-bit program
Subtraction of 8-bit BCD program
Subtraction of 16-bit program
Subtraction of 16-bit BCD program
String reverse 8086 program
block transfer using string
string concatenation
string length calculation
Block Transfer 
Block reverse
Hex to ASCII program 8086
BCD to ASCII program 8086
ASCII to BCD program 8086
BCD to HEX
HEX to BCD

 

Programs:-

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

No comments:

Post a Comment