Friday, June 19, 2020

8086 Assembly Program SUM OF SERIES of BCD without carry

For many other Assembly Language  Programs related to microprocessor 8086, c++ , datastructures  visit our  BLOG 

DATA SEGMENT   
NUM1 DB 02H,05H,07H,08H,01H
RESULT DB  ?      
DATA ENDS
CODE SEGMENT
START:ASSUME CS:CODE,DS:DATA        
MOV AX,DATA        
MOV DS,AX       
MOV CL,05H        
MOV SI,OFFSET NUM1  
MOV AL,[SI]        
UP:INC SI
ADD AL,SI          
DEC CL
JNZ UP
MOV AH,4CH       
MOV AH,4CH       
INT 21H
CODE ENDS

Programs:-

For many other Assembly Language  Programs related to microprocessor 8086, c++ , datastructures  visit our  BLOG 


There are programs of largest ,smallest ,division ,multiplication,odd/even,block operation ,string operations ,etc

No comments:

Post a Comment