Logo 
Search:

Assembly Language Articles

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

PROGRAM TO DISPLAY MESSAGE ON SCREEN THRU MOV INSTRUCTION

Posted By: Volker Fischer     Category: Assembly Language     Views: 4723

WRITE A PROGRAM TO DISPLAY MESSAGE ON SCREEN THRU MOV INSTRUCTION.

Code for PROGRAM TO DISPLAY MESSAGE ON SCREEN THRU MOV INSTRUCTION in Assembly Language

.Model Small
;.STACK

.DATA
      MSG1 DB 'HELLO! How r u?$'

.CODE

   MOV AX,@DATA
   MOV DS,AX

   MOV dx,OFFSET MSG1   ; LEA dx,msg1
   mov ah,09h
   int 21h

   mov ah,4ch
   int 21h
   
END
  
Share: 


Didn't find what you were looking for? Find more on PROGRAM TO DISPLAY MESSAGE ON SCREEN THRU MOV INSTRUCTION Or get search suggestion and latest updates.

Volker Fischer
Volker Fischer author of PROGRAM TO DISPLAY MESSAGE ON SCREEN THRU MOV INSTRUCTION is from Frankfurt, Germany.
 
View All Articles

 
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!