Write an Assembly Language Program to Display a String

Write an Assembly Language Program to Display a String

Write an Assembly Language Program to Display a String

Object:

Write an Assembly Language Program to Display a String / Text / Hello World.

Code:

.MODEL SMALL
.STACK 64
.DATA
MSG DB ‘Welcome to codeboks.com’,’$’

.CODE

MAIN PROC FAR

MOV AX,@DATA
MOV DS,AX
CALL D
MOV AH,4CH
INT 21H

MAIN ENDP

D PROC
MOV AH,09
MOV DX,OFFSET MSG
INT 21H
RET
D ENDP
END MAIN

.MODEL SMALL
.STACK 64
.DATA
MSG DB 'Welcome to codeboks.com','$'

.CODE

MAIN PROC FAR

MOV AX,@DATA
MOV DS,AX
CALL D
MOV AH,4CH
INT 21H

MAIN ENDP

D PROC
MOV AH,09
MOV DX,OFFSET MSG
INT 21H
RET
D ENDP
END MAIN 

Command Prompt:

Write an Assembly Language Program to Display a String

DOSBOX:

Write an Assembly Language Program to Display a String

Top 40 projects with C++ for beginners in 2021

The C Programming Language Structure with C Language data types

Best Top 5 Programming Languages demand in 2021

C# Projects with Source Code

C# windows form application projects with source code

Linear Search Algorithm Source Code in C++

Hi, I am M.A Siddiqui. I'm a Computer Science Student, In this website, I'm teaching you Multiple languages and provides Projects and other Subjects Notes.

Leave a Reply

Your email address will not be published. Required fields are marked *