Logo 
Search:

Assembly Language Articles

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

PROGRAM TO DISPLAY MESSAGE ON SCREEN THRU LEA INSTRUCTION

Posted By: Isabelle Brown     Category: Assembly Language     Views: 4030

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

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

.Model Small
.STACK

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

.CODE

   MOV AX,@DATA
   MOV DS,AX

   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 LEA INSTRUCTION Or get search suggestion and latest updates.

Isabelle Brown
Isabelle Brown author of PROGRAM TO DISPLAY MESSAGE ON SCREEN THRU LEA INSTRUCTION is from London, United Kingdom.
 
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!