Logo 
Search:

Assembly Language Articles

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

PROGRAM TO GET STRING FROM KEYBOARD & PRINT IT

Posted By: Olivia Campbell     Category: Assembly Language     Views: 6650

WRITE A PROGRAM TO GET STRING FROM KEYBOARD & PRINT IT.

Code for PROGRAM TO GET STRING FROM KEYBOARD & PRINT IT in Assembly Language

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

CODE SEGMENT
    ASSUME DC:CODE,DS:DATA
    MOV SC,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 START
[/Code]
  
Share: 


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

Olivia Campbell
Olivia Campbell author of PROGRAM TO GET STRING FROM KEYBOARD & PRINT IT is from Toronto, Canada.
 
View All Articles

Related Articles and Code:


 
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!