Friday, October 23, 2020

8086 Assembly Program to Add two ASCII numbers


data segment

n1 db 1dup(?)

n2 db 1dup(?)

ascii1 db 1dup(?)

ascii2 db 1dup(?)

data ends

code segment

assume cs:code, ds:data

mov dx,data

mov ds,dx

mov bl,n2

mov al,n1

add al,bl

aaa

jnc nxt

mov ascii2,31h

nxt: add al,30h

mov ascii1, al

mov ah,4ch

int 21h

code ends

end start

string compare
sum of SERIES BCD numbers
Block reverse

Programs:-
For many other Assembly Language  Programs related to microprocessor 8086 , C++ , C, DataStructures visit our  BLOG 

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

No comments:

Post a Comment