Logo 
Search:

Assembly Language Articles

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

PROGRAM TO CLEAR THE SCREEN AND MAKE BLUE FOREGROUND

Posted By: Luki Fischer     Category: Assembly Language     Views: 3797

WRITE A PROGRAM TO CLEAR THE SCREEN AND MAKE BLUE FOREGROUND.

Code for PROGRAM TO CLEAR THE SCREEN AND MAKE BLUE FOREGROUND in Assembly Language

.Model Small
.STACK

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

.CODE

   MOV AX,@DATA
   MOV DS,AX

   MOV AX,0600h          ;06 isfor row and 00 isfor column
   MOV BH,71H            ;7 is used for white background 
   MOV CX,0000H          ;and 1 is used for blue foreground
   MOV DX,184FH
   INT 10H
                                    ; Upper Left corner to Lower right corner
   MOV dx,OFFSET 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 CLEAR THE SCREEN AND MAKE BLUE FOREGROUND Or get search suggestion and latest updates.

Luki Fischer
Luki Fischer author of PROGRAM TO CLEAR THE SCREEN AND MAKE BLUE FOREGROUND is from Frankfurt, Germany.
 
View All Articles

 

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!