John Delmark Aguilar

Delmark - Profiling
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Displaying Message

View previous topic View next topic Go down 
AuthorMessage
dElmARk
Admin
Admin
avatar

Posts : 92
Join date : 09/04/2012

PostSubject: Displaying Message   Mon Dec 10, 2012 5:21 am

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
View user profile http://delmark.meabout.com
 
Displaying Message
View previous topic View next topic Back to top 
Page 1 of 1

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