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

Interface 8 LEDs with Arduino UNO (digital 0 to digital 7). Develop an Arduino sketch for following: a. Toggle all LEDs continuously every 500 milliseconds. b. Toggle even and odd LEDs continuously for 2 seconds. c. Generate left series (i.e. used during Navaratri)

Interface DC motor and Buzzer with Arduino. Develop an Arduino sketch to rotate motor anti-clockwise for 10 seconds after that sound buzzer for 2 seconds and silent at last.

3 Develop an interfacing circuit and a sketch to display decimal data on 7-Segments. The 3- digit number is sent over serial communication.