Logo 
Search:

Assembly Language Articles

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

PROGRAM TO DISPLAY NAME IN CENTER OF SCREEN

Posted By: Michael Evans     Category: Assembly Language     Views: 7891

WRITE A PROGRAM TO DISPLAY NAME IN CENTER OF SCREEN.

Code for PROGRAM TO DISPLAY NAME IN CENTER OF SCREEN in Assembly Language

PRNSTR MACRO MSG
    MOV AH,09H
    LEA DX,MSG
    INT 21H
ENDM
DATA SEGMENT
    MSG1 DB "CHAITALI $"
DATA ENDS

CODE SEGMENT
START:    ASSUME CS:CODE,DS:DATA
    MOV AX,DATA
    MOV DS,AX
    MOV AX,0600H
    MOV BH,71H
    MOV CX,000H    ;UPPER LEFT ROW,COLUMN
    MOV DX,184H    ;LOWER RIGHT ROW,COLUMN
    INT 10H
    MOV AH,02H
    MOV BH,00H
    MOV DH,0CH
    MOV DL,23H
    INT 10H
    PRNSTR MSG1
    MOV AH,4CH
    INT 21H
CODE ENDS
END START
  
Share: 


Didn't find what you were looking for? Find more on PROGRAM TO DISPLAY NAME IN CENTER OF SCREEN Or get search suggestion and latest updates.

Michael Evans
Michael Evans author of PROGRAM TO DISPLAY NAME IN CENTER OF SCREEN is from London, United Kingdom.
 
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!