8086 program Write an ALP to exchange block of data bytes.

Code :-

org 100h

MOV SI,2000H

MOV DI,2004H

MOV CX,02H

L1:

   MOV AL,[SI]

   MOV BL,[DI]

   MOV [SI],BL

   INC SI

   MOV [DI],AL

   DEC DI

LOOP L1

ret


Output :-





Comments

Popular Posts

What is Tinkercad ? How to use Tinkercad ?

Connect switch to Arduino. If switch is on than print ”ON” else print “OFF” on serial monitor.

Develop an interfacing circuit and a sketch to increment count on 7-Segment based on switch press. Count goes from 00 to 99.