Logo 
Search:

Assembly Language Articles

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

PROGRAM TO DISPLAY HELLO WORLD ON THE CONSOLE USING ONLY ONE SEGMENT

Posted By: Adalgisa Miller     Category: Assembly Language     Views: 1922

WRITE A PROGRAM TO DISPLAY HELLO WORLD ON THE CONSOLE USING ONLY ONE SEGMENT.

Code for PROGRAM TO DISPLAY HELLO WORLD ON THE CONSOLE USING ONLY ONE SEGMENT in Assembly Language

CODE SEGMENT
START:  ASSUME CS:CODE,DS:data
    JMP SKIP
    MSG DB "HELLO WORLD"

SKIP:    MOV AX,DATA
    MOV DS,AX
    MOV AH,09H
    MOV DX,OFFSET MSG
    INT 21H
    MOV AH,4CH
    INT 21H
CODE ENDS
END START
  
Share: 



Adalgisa Miller
Adalgisa Miller author of PROGRAM TO DISPLAY HELLO WORLD ON THE CONSOLE USING ONLY ONE SEGMENT is from Frankfurt, Germany.
 
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!