Logo 
Search:

Assembly Language Articles

Submit Article
Home » Articles » Assembly Language » Homework HelpRSS Feeds

PROGRAM THAT TAKES INPUT STRING FROM KEYBOARD & PRINT IT

Posted By: Adalrich Fischer     Category: Assembly Language     Views: 7803

WRITE A PROGRAM THAT TAKES INPUT STRING FROM KEYBOARD & PRINT IT.

Code for PROGRAM THAT TAKES INPUT STRING FROM KEYBOARD & PRINT IT in Assembly Language

DATA SEGMENT
    MSG DB 80
             DB 0
             DB 80 DUP('$')
DATA ENDS

CODE SEGMENT
        ASSUME CS:CODE,DS:DATA

        MOV AX,DATA
    MOV DS,AX
    MOV AH,0AH
    MOV AX,OFFSET MSG
    INT 21H

    MOV AH,09H
    MOV DX,OFFSET MSG+2
    INT 21H
    MOV AH,4CH
    INT 21H
CODE ENDS
END
  
Share: 


Didn't find what you were looking for? Find more on PROGRAM THAT TAKES INPUT STRING FROM KEYBOARD & PRINT IT Or get search suggestion and latest updates.

Adalrich Fischer
Adalrich Fischer author of PROGRAM THAT TAKES INPUT STRING FROM KEYBOARD & PRINT IT is from Frankfurt, Germany.
 
View All Articles

Related Articles and Code:


 

Other Interesting Articles in Assembly Language:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!