Microsoft (R) Macro Assembler Version 6.14.8444		    06/25/08 22:23:15
hello.asm						     Page 1 - 1


				;-----------------------------------------------------------------------
				;	This EXE program displays "Hello!" to screen.
				;-----------------------------------------------------------------------
					assume	cs:cseg,ds:dseg,ss:sseg

 0000				cseg	segment 'code'
 0000				start:
 0000  B8 ---- R				mov	ax, dseg
 0003  8E D8					mov	ds, ax
 0005  BA 0000 R				mov	dx, offset msg
 0008  B4 09					mov	ah, 09h
 000A  CD 21					int	21h
 000C  B4 00					mov ah, 0
 000E  CD 16					int 16h
 0010  B8 4C00					mov	ax, 4C00h
 0013  CD 21					int	21h
 0015				cseg	ends

 0000				dseg	segment	byte
 0000 48 65 6C 6C 6F 21		msg	    db	'Hello!',0Dh,0Ah,'$'
       0D 0A 24
 0009				dseg	ends

 0000				sseg	segment	stack
 0000  0100 [				    db	100h dup(?)
        00
       ]
 0100				sseg	ends

					    end	start
Microsoft (R) Macro Assembler Version 6.14.8444		    06/25/08 22:23:15
hello.asm						     Symbols 2 - 1




Segments and Groups:

                N a m e                 Size     Length   Align   Combine Class

cseg . . . . . . . . . . . . . .	16 Bit	 0015	  Para	  Private 'code'	
dseg . . . . . . . . . . . . . .	16 Bit	 0009	  Byte	  Private 
sseg . . . . . . . . . . . . . .	16 Bit	 0100	  Para	  Stack	  


Symbols:

                N a m e                 Type     Value    Attr

msg  . . . . . . . . . . . . . .	Byte	 0000	  dseg	
start  . . . . . . . . . . . . .	L Near	 0000	  cseg	

	   0 Warnings
	   0 Errors
