Turbo Assembler	 Version 4.1	    11/03/06 09:58:35	    Page 1
in.asm



      1	0000			     code segment
      2					  assume cs:code, ds:mydata
      3	0000			     main proc far
      4	0000  EB 1D			  jmp short beg
      5	0002  4D 65 73 73 61 67	65+  MC	  DB	"Message from CODE SEGMENT!",13,10,"$"
      6	      20 66 72 6F 6D 20	43+
      7	      4F 44 45 20 53 45	47+
      8	      4D 45 4E 54 21 0D	0A+
      9	      24
     10	001F			     beg:
     11	001F  B8 0000s			  mov  ax,mydata
     12	0022  8E D8			  mov  ds,ax
     13	0024  1E			  push ds
     14	0025  8C C8			  mov  ax,cs
     15	0027  8E D8			  mov  ds,ax
     16				     ; Вывод строки из сегмента	кода
     17	0029  B4 09			  mov ah,09h
     18	002B  BA 0002r			  mov dx,offset	MC
     19	002E  CD 21			  int 21h
     20				     ; Восстанавливаем содержимое DS из	стека
     21	0030  1F			  pop ds
     22				     ; Вывод строки из сегмента	данных
     23	0031  B4 09			  mov ah,09h
     24	0033  BA 0000r			  mov dx,offset	MD
     25	0036  CD 21			  int 21h
     26				     ; Выход в DOS
     27	0038  B8 4C00			  mov ax,4C00h
     28	003B  CD 21			  int 21h
     29	003D			     main endp
     30	003D			     code ends
     31	0000			     mydata segment
     32	0000  4D 65 73 73 61 67	65+  MD	    DB	    "Message from DATA SEGMENT!",13,10,"$"
     33	      20 66 72 6F 6D 20	44+
     34	      41 54 41 20 53 45	47+
     35	      4D 45 4E 54 21 0D	0A+
     36	      24
     37	001D			     mydata ends
     38					  end main
Turbo Assembler	 Version 4.1	    11/03/06 09:58:35	    Page 2
Symbol Table




Symbol Name		Type   Value			   Cref	(defined at #)

??date			Text   "11/03/06"
??filename		Text   "in	"
??time			Text   "09:58:35"
??version		Number 040A
@Cpu			Text   0101H
@FileName		Text   in
@WordSize		Text   2			   #1  #31
@curseg			Text   mydata			   #1  #31
MC			Byte   code:0002		   #5  18
MD			Byte   mydata:0000		   24  #32
beg			Near   code:001F		   4  #10
main			Far    code:0000		   #3  38

Groups & Segments	Bit Size Align	Combine	Class	   Cref	(defined at #)

code			16  003D Para	none		   #1  2
mydata			16  001D Para	none		   2  11  #31
