home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
asmutl
/
chasm4.arc
/
EXAMPLE.ASM
< prev
next >
Wrap
Assembly Source File
|
1984-09-05
|
640b
|
16 lines
;=====================================;
;HELLO Version 1.00 ;
; 1984 by David Whitman ;
; ;
; Sample source file for CHASM. ;
; Prints a greeting on the console. ;
;=====================================;
MOV AH, 9 ;specify DOS function 9
MOV DX, OFFSET(MESSAGE) ;get address of string
INT 21H ;call DOS
INT 20H ;return to DOS
MESSAGE DB 'Hello, World!$' ;message to be printed