Write an ALP to Interchange block of data present in Source and Destination
Channel: Precise Study
Date: 26/03/2017

#Resolution720MP

Program code:

 .MODEL SMALL 
 .STACK
 .DATA            
 SRC      DW         1234H, 5678H, 9ABCH
 LEN      DW        ($-SRC)/2
  DST      DW         39ABH, 5877H, 9988H

.CODE
START:  MOV   AX,   @DATA
 MOV    DS, AX
 MOV          CX,  LEN    ; 
 MOV          SI,   00H
L1:   MOV         AX,   SRC [SI]
 MOV          BX,   DST [SI]
 MOV          DST [SI], AX
 MOV          SRC[SI], BX 
  ADD            SI,   02H
 LOOP          L1        
 MOV           AH,   4CH
 INT             21H 
 END           START