Microsoft (R) Macro Assembler Version 6.11		    04/02/12 19:05:25
tempfile.asm						     Page 1 - 1


				;本动画先显示一些提示信息，然后按任意键进入，只见一个方框向中
				;间由大变小，并留下痕迹，然后出现一个心，按空格重复出现心，按其他
				;键将重复,按Q键退出程序。
				;在Windows 7操作系统下必须设置【兼容Winodws xp模式】才能正常运行
 0000				Data segment
 0000 00			full db 0
 0001 20 20 20 57 65 6C		buff1 db '   Welcome you to run this programme!'
       63 6F 6D 65 20 79
       6F 75 20 74 6F 20
       72 75 6E 20 74 68
       69 73 20 70 72 6F
       67 72 61 6D 6D 65
       21
 0026  20 20 20 20 20 20	      db '                                     '
       20 20 20 20 20 20
       20 20 20 20 20 20
       20 20 20 20 20 20
       20 20 20 20 20 20
       20 20 20 20 20 20
       20
 004B  20 20 20 20 20 20	      db '           *****Please press any key*****$'
       20 20 20 20 20 2A
       2A 2A 2A 2A 50 6C
       65 61 73 65 20 70
       72 65 73 73 20 61
       6E 79 20 6B 65 79
       2A 2A 2A 2A 2A 24
 0075 20 20 20 20 20 20		buff2 db '       My heart beats with yours!'
       20 4D 79 20 68 65
       61 72 74 20 62 65
       61 74 73 20 77 69
       74 68 20 79 6F 75
       72 73 21
 0096  20 20 20 20 20 20	      db '             ***** Please q to quit *****$'
       20 20 20 20 20 20
       20 2A 2A 2A 2A 2A
       20 50 6C 65 61 73
       65 20 71 20 74 6F
       20 71 75 69 74 20
       2A 2A 2A 2A 2A 24
 00C0				Data ends
 0000				code segment
				     assume cs: code , ds: Data
 0000				start:
 0000  1E			     push ds
 0001  2B C0			     sub ax,ax
 0003  50			     push ax
 0004  B8 ---- R		     mov ax, Data
 0007  8E D8			     mov ds, ax
 0009  B4 00			     mov ah, 0
 000B  B0 04			     mov al, 4
 000D  CD 10			     int 10h
 000F  B4 0B			     mov ah,0bh
 0011  B7 00			     mov bh, 0
 0013  B3 01			     mov bl, 1
 0015  CD 10			     int 10h
 0017  B4 0B			     mov ah,0bh
 0019  B7 01			     mov bh, 1
 001B  B3 02			     mov bl, 2
 001D  CD 10			     int 10h
 001F  BA 0001 R		     mov dx,offset buff1               ;显示提示信息
 0022  B4 09			     mov ah, 9
 0024  CD 21			     int 21h
 0026  B4 08			     mov ah, 8
 0028  CD 21			     int 21h
 002A  E8 0579			     call clear                        ;cls
 002D				sss:
 002D  E8 03AE			     call text                         ;display the text
 0030  BF 0002			     mov di, 2
 0033  B0 01			     mov al,1                          ;draw the big box
 0035  B9 0046			     mov cx, 70
 0038  BA 0014			     mov dx, 20
 003B  BB 00A0			     mov bx, 160
 003E  E8 035E			     Call box
 0041  B9 0047			     mov cx, 71
 0044  BA 0015			     mov dx, 21
 0047  BB 009E			     mov bx, 158
 004A				again:
 004A  B0 01			     mov al, 1
 004C  BF 0000			     mov di, 0
 004F  E8 034D			     Call box
 0052  E8 0541			     Call delay
 0055  B0 00			     mov al, 0
 0057  BF 0000			     mov di, 0
 005A  E8 0342			     Call box
 005D  41			     inc cx
 005E  42			     inc dx
 005F  83 EB 02			     sub bx,2
 0062  83 F9 5E			     cmp cx, 94
 0065  75 E3			     jnz again
 0067  BF 0000			     mov di,0                          ;draw the 2nd box
 006A  B9 005F			     mov cx, 95
 006D  BA 002D			     mov dx, 45
 0070  B0 01			     mov al, 1
 0072  BB 006E			     mov bx, 110
 0075  E8 0327			     Call box
 0078  B9 0060			     mov cx, 96
 007B  BA 002E			     mov dx, 46
 007E  BB 006C			     mov bx, 108
 0081				again_00:
 0081  B0 01			     mov al, 1
 0083  BF 0000			     mov di, 0
 0086  E8 0316			     Call box
 0089  E8 050A			     Call delay
 008C  E8 0507			     Call delay
 008F  B0 00			     mov al, 0
 0091  BF 0000			     mov di, 0
 0094  E8 0308			     Call box
 0097  41			     inc cx
 0098  42			     inc dx
 0099  83 EB 02			     sub bx,2
 009C  83 F9 72			     cmp cx, 114
 009F  75 E0			     jnz again_00
 00A1  B9 0073			     mov cx,115                        ;draw the 3rd box
 00A4  BA 0041			     mov dx, 65
 00A7  B0 01			     mov al, 1
 00A9  BB 0046			     mov bx, 70
 00AC  E8 02F0			     Call box
 00AF  B9 0074			     mov cx, 116
 00B2  BA 0042			     mov dx, 66
 00B5  BB 0044			     mov bx, 68
 00B8				again_01:
 00B8  B0 01			     mov al, 1
 00BA  BF 0000			     mov di, 0
 00BD  E8 02DF			     Call box
 00C0  E8 04D3			     Call delay
 00C3  E8 04D0			     Call delay
 00C6  B0 00			     mov al, 0
 00C8  BF 0000			     mov di, 0
 00CB  E8 02D1			     Call box
 00CE  41			     inc cx
 00CF  42			     inc dx
 00D0  83 EB 02			     sub bx,2
 00D3  81 F9 0081		     cmp cx, 129
 00D7  75 DF			     jnz again_01
 00D9  BF 0002			     mov di, 2
 00DC  B0 01			     mov al,1                          ;draw the small box
 00DE  B9 0082			     mov cx, 130
 00E1  BA 0050			     mov dx, 80
 00E4  BB 0028			     mov bx, 40
 00E7  E8 02B5			     Call box
 00EA  BF 0002			     mov di, 2
 00ED  B0 03			     mov al,3                          ;对角线
 00EF  BE 0000			     mov si, 0
 00F2  B9 0047			     mov cx, 71
 00F5  BA 0015			     mov dx, 21
 00F8  BB 003B			     mov bx, 59
 00FB  E8 023B			     Call xie_line
 00FE  B9 00AB			     mov cx, 171
 0101  BA 0079			     mov dx, 121
 0104  BB 003B			     mov bx, 59
 0107  E8 022F			     Call xie_line
 010A  BE 0001			     mov si, 1
 010D  B9 0047			     mov cx, 71
 0110  BA 00B3			     mov dx, 179
 0113  BB 003B			     mov bx, 59
 0116  E8 0220			     Call xie_line
 0119  B9 00AB			     mov cx, 171
 011C  BA 004F			     mov dx, 79
 011F  BB 003B			     mov bx, 59
 0122  E8 0214			     Call xie_line
 0125  B9 0096			     mov cx,150                       ;十字线
 0128  BA 0014			     mov dx, 20
 012B  BE 0000			     mov si, 0
 012E  BB 003C			     mov bx, 60
 0131  E8 01C5			     Call draw_line
 0134  B9 0096			     mov cx, 150
 0137  BA 0078			     mov dx, 120
 013A  BB 003C			     mov bx, 60
 013D  E8 01B9			     Call draw_line
 0140  B9 0046			     mov cx, 70
 0143  BA 0064			     mov dx, 100
 0146  BE 0001			     mov si, 1
 0149  BB 003C			     mov bx, 60
 014C  E8 01AA			     Call draw_line
 014F  B9 00AA			     mov cx, 170
 0152  BA 0064			     mov dx, 100
 0155  BB 003C			     mov bx, 60
 0158  E8 019E			     Call draw_line
 015B  BE 0001			     mov si, 1
 015E  B9 0046			     mov cx, 70
 0161  BA 003C			     mov dx, 60
 0164  BB 003C			     mov bx, 60
 0167  E8 01ED			     Call mid_line
 016A  B9 00AA			     mov cx, 170
 016D  BA 006E			     mov dx, 110
 0170  BB 003C			     mov bx, 60
 0173  E8 01E1			     Call mid_line
 0176  BE 0002			     mov si, 2
 0179  B9 006E			     mov cx, 110
 017C  BA 0014			     mov dx, 20
 017F  BB 001E			     mov bx, 30
 0182  E8 01D2			     Call mid_line
 0185  B9 00A0			     mov cx, 160
 0188  BA 0078			     mov dx, 120
 018B  BB 001E			     mov bx, 30
 018E  E8 01C6			     Call mid_line
 0191  BE 0003			     mov si, 3
 0194  B9 0046			     mov cx, 70
 0197  BA 008C			     mov dx, 140
 019A  BB 003C			     mov bx, 60
 019D  E8 01B7			     Call mid_line
 01A0  B9 00AA			     mov cx, 170
 01A3  BA 005A			     mov dx, 90
 01A6  BB 003C			     mov bx, 60
 01A9  E8 01AB			     Call mid_line
 01AC  BE 0004			     mov si, 4
 01AF  B9 006E			     mov cx, 110
 01B2  BA 00B4			     mov dx, 180
 01B5  BB 001E			     mov bx, 30
 01B8  E8 019C			     Call mid_line
 01BB  B9 00A0			     mov cx, 160
 01BE  BA 0050			     mov dx, 80
 01C1  BB 001E			     mov bx, 30
 01C4  E8 0190			Call mid_line
 01C7  BF 0000			     mov di, 0
 01CA  B0 01			     mov al,1                           ;draw the big box again
 01CC  B9 0046			     mov cx, 70
 01CF  BA 0014			     mov dx, 20
 01D2  BB 00A0			     mov bx, 160
 01D5  E8 01C7			Call box
 01D8  BF 0000			    mov di, 0
 01DB  B0 01			    mov al,1                           ;draw the small box again
 01DD  B9 0082			    mov cx, 130
 01E0  BA 0050			    mov dx, 80
 01E3  BB 0028			    mov bx, 40
 01E6  E8 01B6			Call box
 01E9  BF 0000			    mov di, 0
 01EC  B9 005F			    mov cx, 95
 01EF  BA 002D			    mov dx, 45
 01F2  B0 01			    mov al, 1
 01F4  BB 006E			    mov bx, 110
 01F7  E8 01A5			Call box
 01FA  B9 0073			    mov cx, 115
 01FD  BA 0041			    mov dx, 65
 0200  B0 01			    mov al, 1
 0202  BB 0046			    mov bx, 70
 0205  E8 0197			Call box
 0208  BF 0001			    mov di,1                          ;fill
 020B  E8 0041			Call fill
 020E  E8 006D			Call fill_2
 0211  E8 0099			Call fill_3
 0214  B9 0095			    mov cx,149                         ;bold
 0217  BA 0078			    mov dx, 120
 021A  B0 02			    mov al, 2
 021C  BB 003C			    mov bx, 60
 021F  BE 0000			    mov si, 0
 0222  E8 00D4			Call draw_line
 0225  B9 0097			    mov cx, 151
 0228  BA 0078			    mov dx, 120
 022B  B0 02			    mov al, 2
 022D  BB 003C			    mov bx, 60
 0230  BE 0000			    mov si, 0
 0233  E8 00C3			Call draw_line
 0236				heart_:                            ;draw the heart
 0236  E8 038E			Call cls_box
 0239  E8 01B3			Call heart
 023C  B4 08			    mov ah, 8
 023E  CD 21			    int 21h
 0240  3C 71			    cmp al,'q'
 0242  74 0A			    jz ok
 0244  3C 20			    cmp al,20h
 0246  74 EE			    jz heart_
 0248  E8 035B			Call Clear
 024B  E9 FDDF			    jmp sss
 024E				ok:
 024E  C3			ret
 024F				fill proc near                    ;the procedure of fill
 024F  C6 06 0000 R 00		    mov full, 0
 0254  B0 05			    mov al, 5
 0256  B9 00A0			    mov cx, 160
 0259  BA 0079			    mov dx, 121
 025C  BE 0000			    mov si, 0
 025F  BB 003C			    mov bx, 60
 0262				fill_Y:
 0262  51			    push cx
 0263  52			    push dx
 0264  53			    push bx
 0265  E8 0091			Call draw_line
 0268  5B			    pop bx
 0269  5A			    pop dx
 026A  59			    pop cx
 026B  83 EB 02			    sub bx,2
 026E  41			    inc cx
 026F  83 C2 02			    Add dx, 2
 0272  FE 06 0000 R		    inc full
 0276  80 3E 0000 R 1E		    cmp full, 30
 027B  75 E5			    jne fill_Y
 027D  C3			    ret
 027E				fill endp
 027E				fill_2 proc near
 027E  C6 06 0000 R 00		    mov full, 0
 0283  B0 05			    mov al, 5
 0285  B9 008C			    mov cx, 140
 0288  BA 0079			    mov dx, 121
 028B  BE 0000			    mov si, 0
 028E  BB 003C			    mov bx, 60
 0291				fill_Y1:
 0291  51			    push cx
 0292  52			    push dx
 0293  53			    push bx
 0294  E8 0062			Call draw_line
 0297  5B			    pop bx
 0298  5A			    pop dx
 0299  59			    pop cx
 029A  83 EB 02			    sub bx,2
 029D  49			    dec cx
 029E  83 C2 02			    Add dx, 2
 02A1  FE 06 0000 R		    inc full
 02A5  80 3E 0000 R 1E		    cmp full, 30
 02AA  75 E5			    jne fill_Y1
 02AC  C3			ret
 02AD				fill_2 endp
 02AD				fill_3 proc near
 02AD  B0 01			    mov al, 1
 02AF  C6 06 0000 R 00		    mov full, 0
 02B4  BE 0000			    mov si, 0
 02B7  B9 008C			    mov cx, 140
 02BA  BA 0079			    mov dx, 121
 02BD  BB 003C			    mov bx, 60
 02C0				re_fill:
 02C0  53			    push bx
 02C1  51			    push cx
 02C2  52			    push dx
 02C3  E8 0033			Call draw_line
 02C6  5A			    pop dx
 02C7  59			    pop cx
 02C8  5B			    pop bx
 02C9  41			    inc cx
 02CA  FE 06 0000 R		    inc full
 02CE  80 3E 0000 R 09		    cmp full, 9
 02D3  75 EB			    jne re_fill
 02D5  C6 06 0000 R 00		    mov full, 0
 02DA  B9 009F			    mov cx, 159
 02DD  BA 0079			    mov dx, 121
 02E0  BB 003C			    mov bx, 60
 02E3				re_fill2:
 02E3  53			    push bx
 02E4  51			    push cx
 02E5  52			    push dx
 02E6  E8 0010			Call draw_line
 02E9  5A			    pop dx
 02EA  59			    pop cx
 02EB  5B			    pop bx
 02EC  49			    dec cx
 02ED  FE 06 0000 R		    inc full
 02F1  80 3E 0000 R 09		    cmp full, 9
 02F6  75 EB			    jne re_fill2
 02F8  C3			ret
 02F9				fill_3 endp
 02F9				draw_Line proc near               ;the procedure of draw a line
 02F9  53			    push bx
 02FA  83 FE 00			    cmp si, 0
 02FD  74 1D			    jz V_line1
 02FF  03 D9			    Add bx, cx
 0301				H_line:
 0301  B4 0C			    mov ah,0ch
 0303  CD 10			    int 10h
 0305  83 FF 00			    cmp di, 0
 0308  74 0B			    jz aa0
 030A  83 FF 01			    cmp di, 1
 030D  74 03			    jz aa1
 030F  E8 0284			Call delay
 0312				aa1:
 0312  E8 0281			Call delay
 0315				aa0:
 0315  41			    inc cx
 0316  3B CB			    cmp cx, bx
 0318  75 E7			    jne H_line
 031A  EB 1B			    jmp exit_line
 031C				V_line1:
 031C  03 DA			    Add bx, dx
 031E				V_line:
 031E  B4 0C			    mov ah,0ch
 0320  83 FF 00			    cmp di, 0
 0323  74 0B			    jz bb0
 0325  83 FF 01			    cmp di, 1
 0328  74 03			    jz bb1
 032A  E8 0269			Call delay
 032D				bb1:
 032D  E8 0266			Call delay
 0330				bb0:
 0330  CD 10			    int 10h
 0332  42			    inc dx
 0333  3B D3			    cmp dx, bx
 0335  75 E7			    jne V_line
 0337				exit_line:
				    
 0337  5B			    pop bx
 0338  C3			ret
 0339				draw_line endp
 0339				xie_line proc near                ;the procedure of draw a xie_line
 0339  03 D9			    Add bx, cx
 033B  83 FE 01			    cmp si, 1
 033E  74 0C			    jz xieline_1
 0340				xieline_0:
				    
 0340  B4 0C			    mov ah,0ch
 0342  CD 10			    int 10h
 0344  42			    inc dx
 0345  41			    inc cx
 0346  3B CB			    cmp cx, bx
 0348  75 F6			    jne xieline_0
 034A  EB 0A			    jmp exit_xie
 034C				xieline_1:
 034C  B4 0C			    mov ah,0ch
 034E  CD 10			    int 10h
 0350  4A			    dec dx
 0351  41			    inc cx
 0352  3B CB			    cmp cx, bx
 0354  75 F6			    jne xieline_1
 0356				exit_xie:
 0356  C3			ret
 0357				xie_line endp
 0357				Mid_line proc near                 ;draw a xie_line
 0357  03 D9			    Add bx, cx
 0359  83 FE 02			    cmp si, 2
 035C  74 18			    jz midline_2
 035E  83 FE 03			    cmp si, 3
 0361  74 21			    jz midline_3
 0363  83 FE 04			    cmp si, 4
 0366  74 2A			    jz midline_4
 0368				midline_1:
				    
 0368  B4 0C			    mov ah,0ch
 036A  CD 10			    int 10h
 036C  42			    inc dx
 036D  83 C1 02			    Add cx, 2
 0370  3B CB			    cmp cx, bx
 0372  75 F4			    jne midline_1
 0374  EB 28			    jmp exit_lines
 0376				midline_2:
 0376  B4 0C			    mov ah,0ch
 0378  CD 10			    int 10h
 037A  83 C2 02			    Add dx, 2
 037D  41			    inc cx
 037E  3B CB			    cmp cx, bx
 0380  75 F4			    jne midline_2
 0382  EB 1A			    jmp exit_lines
 0384				midline_3:
 0384  B4 0C			    mov ah,0ch
 0386  CD 10			    int 10h
 0388  4A			    dec dx
 0389  83 C1 02			    Add cx, 2
 038C  3B CB			    cmp cx, bx
 038E  75 F4			    jne midline_3
 0390  EB 0C			    jmp exit_lines
 0392				midline_4:
 0392  B4 0C			    mov ah,0ch
 0394  CD 10			    int 10h
 0396  83 EA 02			    sub dx,2
 0399  41			    inc cx
 039A  3B CB			    cmp cx, bx
 039C  75 F4			    jne midline_4
 039E				exit_lines:
 039E  C3			ret
 039F				mid_line endp
 039F				box proc near                      ;draw a box
 039F  51			    push cx
 03A0  52			    push dx
 03A1  51			    push cx
 03A2  52			    push dx
 03A3  51			    push cx
 03A4  52			    push dx
 03A5  51			    push cx
 03A6  52			    push dx
 03A7  BE 0001			    mov si, 1
 03AA  E8 FF4C			    call draw_line                    ;top
 03AD  5A			    pop dx
 03AE  59			    pop cx
 03AF  03 CB			    Add cx, bx
 03B1  BE 0000			    mov si, 0
 03B4  E8 FF42			    call draw_line                     ;right
 03B7  5A			    pop dx
 03B8  59			    pop cx
 03B9  BE 0000			    mov si, 0
 03BC  E8 FF3A			    call draw_line                    ;left
 03BF  5A			    pop dx
 03C0  59			    pop cx
 03C1  BE 0001			    mov si, 1
 03C4  03 D3			    Add dx, bx
 03C6  E8 FF30			    call draw_line                    ;bottom
 03C9  5A			    pop dx
 03CA  59			    pop cx
 03CB  C3			    ret
 03CC				    box endp
 03CC				space proc near                    ;display a space
 03CC  B4 02			    mov ah, 2
 03CE  B2 20			    mov dl,' '
 03D0  CD 21			    int 21h
 03D2  C3			    ret
 03D3				    Space endp
				    
 03D3				    return proc near                  ;回车
 03D3  B4 02			    mov ah, 2
 03D5  B2 0A			    mov dl,0ah
 03D7  CD 21			    int 21h
 03D9  B2 0D			    mov dl,0dh
 03DB  CD 21			    int 21h
 03DD  C3			    ret
 03DE				    return endp
				    
 03DE				    text proc near                    ;显示文本信息
 03DE  B7 00			    mov bh, 0
 03E0  B6 00			    mov dh, 0
 03E2  B2 00			    mov dl, 0
 03E4  B4 02			    mov ah, 2
 03E6  CD 10			    int 10h
 03E8  BA 0075 R		    mov dx,offset buff2
 03EB  B4 09			    mov ah, 9
 03ED  CD 21			    int 21h
 03EF				    Text endp
				    
 03EF				    heart proc near
 03EF  B9 0088			    mov cx,136                         ;draw_heart
 03F2  BA 005D			    mov dx, 93
 03F5  BE 0000			    mov si, 0
 03F8  BB 0005			    mov bx, 5
 03FB  B0 02			    mov al, 2
 03FD  E8 FEF9			    Call draw_line
 0400  B9 0089			    mov cx,137                        ;draw_heart
 0403  BA 005B			    mov dx, 91
 0406  BE 0000			    mov si, 0
 0409  BB 0009			    mov bx, 9
 040C  E8 FEEA			    Call draw_line
 040F  B9 008A			    mov cx,138                        ;draw_heart
 0412  BA 005A			    mov dx, 90
 0415  BE 0000			    mov si, 0
 0418  BB 000C			    mov bx, 12
 041B  E8 FEDB			    Call draw_line
 041E  B9 008B			    mov cx,139                        ;draw_heart
 0421  BA 0059			    mov dx, 89
 0424  BE 0000			    mov si, 0
 0427  BB 000E			    mov bx, 14
 042A  E8 FECC			    Call draw_line
 042D  B9 008C			    mov cx,140                        ;draw_heart
 0430  BA 0058			    mov dx, 88
 0433  BE 0000			    mov si, 0
 0436  BB 0010			    mov bx, 16
 0439  E8 FEBD			    Call draw_line
 043C  B9 008D			    mov cx,141                        ;draw_heart
 043F  BA 0058			    mov dx, 88
 0442  BE 0000			    mov si, 0
 0445  BB 0011			    mov bx, 17
 0448  E8 FEAE			    Call draw_line
 044B  B9 008E			    mov cx,142                        ;draw_heart
 044E  BA 0057			    mov dx, 87
 0451  BE 0000			    mov si, 0
 0454  BB 0013			    mov bx, 19
 0457  E8 FE9F			    Call draw_line
 045A  B9 008F			    mov cx,143                        ;draw_heart
 045D  BA 0057			    mov dx, 87
 0460  BE 0000			    mov si, 0
 0463  BB 0014			    mov bx, 20
 0466  E8 FE90			    Call draw_line
 0469  B9 0090			    mov cx,144                        ;draw_heart
 046C  BA 0057			    mov dx, 87
 046F  BE 0000			    mov si, 0
 0472  BB 0015			    mov bx, 21
 0475  E8 FE81			    Call draw_line
 0478  B9 0091			    mov cx,145                        ;draw_heart
 047B  BA 0058			    mov dx, 88
 047E  BE 0000			    mov si, 0
 0481  BB 0015			    mov bx, 21
 0484  E8 FE72			    Call draw_line
 0487  B9 0092			    mov cx,146                         ;draw_heart
 048A  BA 0058			    mov dx, 88
 048D  BE 0000			    mov si, 0
 0490  BB 0016			    mov bx, 22
 0493  E8 FE63			    Call draw_line
 0496  B9 0093			    mov cx,147                        ;draw_heart
 0499  BA 0059			    mov dx, 89
 049C  BE 0000			    mov si, 0
 049F  BB 0016			    mov bx, 22
 04A2  E8 FE54			    Call draw_line
 04A5  B9 0094			    mov cx,148                        ;draw_heart
 04A8  BA 005A			    mov dx, 90
 04AB  BE 0000			    mov si, 0
 04AE  BB 0016			    mov bx, 22
 04B1  E8 FE45			    Call draw_line
 04B4  B9 0095			    mov cx,149                        ;draw_heart
 04B7  BA 005B			    mov dx, 91
 04BA  BE 0000			    mov si, 0
 04BD  BB 0016			    mov bx, 22
 04C0  E8 FE36			    Call draw_line
 04C3  B9 0096			    mov cx,150                        ;1draw_heart
 04C6  BA 005B			    mov dx, 91
 04C9  BE 0000			    mov si, 0
 04CC  BB 0016			    mov bx, 22
 04CF  E8 FE27			    Call draw_line
 04D2  B9 0097			    mov cx,151                        ;draw_heart
 04D5  BA 005A			    mov dx, 90
 04D8  BE 0000			    mov si, 0
 04DB  BB 0016			    mov bx, 22
 04DE  E8 FE18			    Call draw_line
 04E1  B9 0098			    mov cx,152                        ;draw_heart
 04E4  BA 0059			    mov dx, 89
 04E7  BE 0000			    mov si, 0
 04EA  BB 0016			    mov bx, 22
 04ED  E8 FE09			    Call draw_line
 04F0  B9 0099			    mov cx,153                        ;draw_heart
 04F3  BA 0058			    mov dx, 88
 04F6  BE 0000			    mov si, 0
 04F9  BB 0016			    mov bx, 22
 04FC  E8 FDFA			    Call draw_line
 04FF  B9 009A			    mov cx,154                        ;draw_heart
 0502  BA 0058			    mov dx, 88
 0505  BE 0000			    mov si, 0
 0508  BB 0015			    mov bx, 21
 050B  E8 FDEB			    Call draw_line
 050E  B9 009B			    mov cx,155                        ;draw_heart
 0511  BA 0057			    mov dx, 87
 0514  BE 0000			    mov si, 0
 0517  BB 0015			    mov bx, 21
 051A  E8 FDDC			    Call draw_line
 051D  B9 009C			    mov cx,156                        ;draw_heart
 0520  BA 0057			    mov dx, 87
 0523  BE 0000			    mov si, 0
 0526  BB 0014			    mov bx, 20
 0529  E8 FDCD			    Call draw_line
 052C  B9 009D			    mov cx,157                        ;draw_heart
 052F  BA 0057			    mov dx, 87
 0532  BE 0000			    mov si, 0
 0535  BB 0013			    mov bx, 19
 0538  E8 FDBE			    Call draw_line
 053B  B9 009E			    mov cx,158                        ;draw_heart
 053E  BA 0058			    mov dx, 88
 0541  BE 0000			    mov si, 0
 0544  BB 0011			    mov bx, 17
 0547  E8 FDAF			    Call draw_line
 054A  B9 009F			    mov cx,159                        ;draw_heart
 054D  BA 0058			    mov dx, 88
 0550  BE 0000			    mov si, 0
 0553  BB 0010			    mov bx, 16
 0556  E8 FDA0			    Call draw_line
 0559  B9 00A0			    mov cx,160                        ;draw_heart
 055C  BA 0059			    mov dx, 89
 055F  BE 0000			    mov si, 0
 0562  BB 000E			    mov bx, 14
 0565  E8 FD91			    Call draw_line
 0568  B9 00A1			    mov cx,161                        ;draw_heart
 056B  BA 005A			    mov dx, 90
 056E  BE 0000			    mov si, 0
 0571  BB 000C			    mov bx, 12
 0574  E8 FD82			    Call draw_line
 0577  B9 00A2			    mov cx,162                        ;draw_heart
 057A  BA 005B			    mov dx, 91
 057D  BE 0000			    mov si, 0
 0580  BB 0009			    mov bx, 9
 0583  E8 FD73			    Call draw_line
 0586  B9 00A3			    mov cx,163                        ;draw_heart
 0589  BA 005D			    mov dx, 93
 058C  BE 0000			    mov si, 0
 058F  BB 0005			    mov bx, 5
 0592  E8 FD64			    Call draw_line
 0595  C3			    ret
 0596				    heart endp
				    
 0596				    delay proc near                   ;the procedure of delay
 0596  51			    push cx
 0597  52			    push dx
 0598  BA 0019			    mov dx, 25
 059B				dl2:
				    
 059B  B9 0AF1			    mov cx, 2801
 059E				dl3:
				    
 059E  E2 FE			    loop dl3
 05A0  4A			    dec dx
 05A1  75 F8			    jnz dl2
 05A3  5A			    pop dx
 05A4  59			    pop cx
 05A5  C3			    ret
 05A6				    delay endp
				    
 05A6				    clear proc near                   ;clear
 05A6  B0 00			    mov al, 0
 05A8  BB 0000			    mov bx, 0
 05AB  B9 0000			    mov cx, 0
 05AE  BA 0000			    mov dx, 0
 05B1				line:
				    
 05B1  B4 0C			    mov ah,0ch
 05B3  CD 10			    int 10h
 05B5  41			    inc cx
 05B6  81 F9 0140		    cmp cx, 320
 05BA  75 F5			    jne line
 05BC  B9 0000			    mov cx, 0
 05BF  42			    inc dx
 05C0  81 FA 00C8		    cmp dx, 200
 05C4  75 EB			    jne line
 05C6  C3			    ret
 05C7				    Clear endp
				    
 05C7				    cls_box proc near
 05C7  B0 00			    mov al, 0
 05C9  BB 0000			    mov bx, 0
 05CC  B9 0083			    mov cx, 131
 05CF  BA 0051			    mov dx, 81
 05D2				s_line:
				    
 05D2  B4 0C			    mov ah,0ch
 05D4  CD 10			    int 10h
 05D6  41			    inc cx
 05D7  81 F9 00AA		    cmp cx, 170
 05DB  75 F5			    jne s_line
 05DD  B9 0083			    mov cx, 131
 05E0  42			    inc dx
 05E1  83 FA 78			    cmp dx, 120
 05E4  75 EC			    jne s_line
 05E6  C3			    ret
 05E7				cls_box endp
 05E7				code ends
				     end start


Microsoft (R) Macro Assembler Version 6.11		    04/02/12 19:05:25
tempfile.asm						     Symbols 2 - 1




Segments and Groups:

                N a m e                 Size     Length   Align   Combine Class

Data . . . . . . . . . . . . . .	16 Bit	 00C0	  Para	  Private 
code . . . . . . . . . . . . . .	16 Bit	 05E7	  Para	  Private 


Procedures,  parameters and locals:

                N a m e                 Type     Value    Attr

Mid_line . . . . . . . . . . . .	P Near	 0357	  code	Length= 0048 Public
  midline_1  . . . . . . . . . .	L Near	 0368	  code	
  midline_2  . . . . . . . . . .	L Near	 0376	  code	
  midline_3  . . . . . . . . . .	L Near	 0384	  code	
  midline_4  . . . . . . . . . .	L Near	 0392	  code	
  exit_lines . . . . . . . . . .	L Near	 039E	  code	
box  . . . . . . . . . . . . . .	P Near	 039F	  code	Length= 002D Public
clear  . . . . . . . . . . . . .	P Near	 05A6	  code	Length= 0021 Public
  line . . . . . . . . . . . . .	L Near	 05B1	  code	
cls_box  . . . . . . . . . . . .	P Near	 05C7	  code	Length= 0020 Public
  s_line . . . . . . . . . . . .	L Near	 05D2	  code	
delay  . . . . . . . . . . . . .	P Near	 0596	  code	Length= 0010 Public
  dl2  . . . . . . . . . . . . .	L Near	 059B	  code	
  dl3  . . . . . . . . . . . . .	L Near	 059E	  code	
draw_Line  . . . . . . . . . . .	P Near	 02F9	  code	Length= 0040 Public
  H_line . . . . . . . . . . . .	L Near	 0301	  code	
  aa1  . . . . . . . . . . . . .	L Near	 0312	  code	
  aa0  . . . . . . . . . . . . .	L Near	 0315	  code	
  V_line1  . . . . . . . . . . .	L Near	 031C	  code	
  V_line . . . . . . . . . . . .	L Near	 031E	  code	
  bb1  . . . . . . . . . . . . .	L Near	 032D	  code	
  bb0  . . . . . . . . . . . . .	L Near	 0330	  code	
  exit_line  . . . . . . . . . .	L Near	 0337	  code	
fill_2 . . . . . . . . . . . . .	P Near	 027E	  code	Length= 002F Public
  fill_Y1  . . . . . . . . . . .	L Near	 0291	  code	
fill_3 . . . . . . . . . . . . .	P Near	 02AD	  code	Length= 004C Public
  re_fill  . . . . . . . . . . .	L Near	 02C0	  code	
  re_fill2 . . . . . . . . . . .	L Near	 02E3	  code	
fill . . . . . . . . . . . . . .	P Near	 024F	  code	Length= 002F Public
  fill_Y . . . . . . . . . . . .	L Near	 0262	  code	
heart  . . . . . . . . . . . . .	P Near	 03EF	  code	Length= 01A7 Public
return . . . . . . . . . . . . .	P Near	 03D3	  code	Length= 000B Public
space  . . . . . . . . . . . . .	P Near	 03CC	  code	Length= 0007 Public
text . . . . . . . . . . . . . .	P Near	 03DE	  code	Length= 0011 Public
xie_line . . . . . . . . . . . .	P Near	 0339	  code	Length= 001E Public
  xieline_0  . . . . . . . . . .	L Near	 0340	  code	
  xieline_1  . . . . . . . . . .	L Near	 034C	  code	
  exit_xie . . . . . . . . . . .	L Near	 0356	  code	


Symbols:

                N a m e                 Type     Value    Attr

again_00 . . . . . . . . . . . .	L Near	 0081	  code	
again_01 . . . . . . . . . . . .	L Near	 00B8	  code	
again  . . . . . . . . . . . . .	L Near	 004A	  code	
buff1  . . . . . . . . . . . . .	Byte	 0001	  Data	
buff2  . . . . . . . . . . . . .	Byte	 0075	  Data	
full . . . . . . . . . . . . . .	Byte	 0000	  Data	
heart_ . . . . . . . . . . . . .	L Near	 0236	  code	
ok . . . . . . . . . . . . . . .	L Near	 024E	  code	
sss  . . . . . . . . . . . . . .	L Near	 002D	  code	
start  . . . . . . . . . . . . .	L Near	 0000	  code	

	   0 Warnings
	   0 Errors
