Saturday, April 14, 2012

String overlaping program using 8086

ASSUME  CS:CODE, DS:DATA, ES:data
DATA    SEGMeNT
        ORG 8000H
STRING1 DB  'balarama krishna'
string2 db 'rachumallu'
data ends
CODE    SEGMeNT
START:  MOV AX, DATA
        MOV DS, AX
        MOV ES, AX
        lea SI, string1
        lea DI, string2
        MOV CX, 10
        add si, 8d
        CLD
        REP MOVSB
        mov ah, 4ch
        int 21h
CODE    ENDS
        END START

1.
2.

No comments:

Post a Comment

DC motor control with Pulse Width Modulation Part 1

DC Motor intro DC motor is a device which converts electrical energy into kinetic energy. It converts the DC power into movement. The typica...