John Delmark Aguilar
Would you like to react to this message? Create an account in a few clicks or log in to continue.
John Delmark Aguilar

Personal Forum
 
HomeSearchLatest imagesRegisterLog in

 

 Displaying Message

Go down 
AuthorMessage
dElmARk
Admin
Admin
dElmARk


Posts : 92
Join date : 09/04/2012

Displaying Message Empty
PostSubject: Displaying Message   Displaying Message Icon_minitimeMon Dec 10, 2012 12:21 pm

Code:
Title "EXP. 4 - program 1"       
;This programs displays a string terminated by a $ sign using 21H function 09H

.MODEL SMALL

.DATA
    MESSAGE DB 'This is the message to be displayed','$' 
     
.STACK 200 

.CODE
    MOV AX, @DATA
    MOV DS,AX
    MOV DX, OFFSET MESSAGE
    MOV AH,09H
    INT 21H
    MOV AX,4C00H
    INT 21H
END     
;Character input with INT 21H, function call 01H
;Character input wothout echo INT 21H, function call 08H
Back to top Go down
https://delmark.forumtl.com
 
Displaying Message
Back to top 
Page 1 of 1
 Similar topics
-
» Displaying Syntax System.out.print
» Display Message and Character input
» Display Message and String input *10 Characters Only*

Permissions in this forum:You cannot reply to topics in this forum
John Delmark Aguilar :: dElmARk Productions :: Assembly Language-
Jump to: