For many other Assembly Language  Programs related to microprocessor 8086 , C++ , C, DataStructures visit our  BLOG 
String reverse 8086 program
block transfer using string
string concatenation
string length calculation
Block Transfer
Block reverse
DATA SEGMENT 
arr1  DB   100DUP(?)     
DATA ENDS
EXTRA SEGMENT 
arr2  DB   100DUP(?)     
EXTRA ENDS
CODE  SEGMENT
START: ASSUME CS:CODE , DS:DATA , ES:EXTRA
MOV  AX, DATA   
MOV  DS, AX  
MOV  AX, EXTRA  
MOV ES, AX      
LEA SI,arr1
LEA DI, arr2
MOV CX, 0064H -(hexadecimal of 100)
CLD
UP: MOVSB
REPNZ
LOOP UP -(LOOP FOR 100 TIMES)
LEA DI, arr2
MOV CX, 0064H -(hexadecimal of 100)
CLD
UP: MOVSB
REPNZ
LOOP UP -(LOOP FOR 100 TIMES)
INT  21H
CODE ENDS
END START
block transfer using string
string concatenation
string length calculation
Block Transfer
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
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
Thanks for the code !!
ReplyDeleteIt works . best site for microprocessor. You should be on top !! keep it up