Friday, June 19, 2020

8086 Assembly Program for Block Exchange and Block Transfer

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

data segment
blk1 db 10DUP(?)
blk2 db 10DUP(?)
data ends
code segment
start : assume  cs :code,  ds :data
mov ax,data
mov ds,ax
lea bx,blk1
lea si, blk2
mov cl,0Ah -(0AH=10)
up:mov al,[bx]
     mov ah,[si]
     mov [si], al
     mov [bx], ah
     inc si
     inc bx
     dec cl
     jnz up
int3
code ends
end start



Programs:-

For many other Assembly Language  Programs related to microprocessor 8086 visit our  BLOG 

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


No comments:

Post a Comment