【正文】
。返回主程序delay: MOV r7,02 。125秒d2: MOV r4,125d3: MOV r3,248 djnz r3,$ djnz r4,d3 djnz r7,d2 djnz r5,delay 。決定節(jié)拍 retdelay1: MOV r4,20d4: MOV r3,248 djnz r3,$ djnz r4,d4 ret org 300htable: dw 64260,64400,64524,64580 dw 64684,64777,64820,64898 dw 64968,65030,65058,65110 dw 65157,65178,65217song: 。第一首歌 db 42h,44h,22h,14h,24h,44h,42h,52h,64h,04h db 52h,54h,42h,54h,52h,82h,82h,62h,62h,52h,64h,42h,44h,22h,14h,84h,62h,52h,62h,52h,44h,52h,54h,42h,52h,54h,62h db 52h,42h,22h,52h,44h,42h,44h,22h,14h,24h,42h,44h,52h,64h,52h,54h,42h,54h,52h,82h,82h,62h,62h,52h,64h db 42h,42h,42h,22h,14h,84h,62h,52h,62h,52h,48h,52h,54h,42h,52h,54h,62h,52h,42h,22h,52h,48h,62h,84h,82h,84h,82h db 92h,82h,62h,52h,48h,92h,0b2h,92h,82h,62h,52h,42h,22h,54h,52h,62h,62h,54h,62h,84h,82h,84h,84h,92h,82h,62h,52h,44h,02h,22h,42h,22h,12h,54h,64h,44h,04h db 00hsong1: 。第2首歌 。1 db 44h,54h,64h,44h db 44h,54h,64h,44h db 64h,74h,88h db 64h,74h,88h 。2 db 82h,92h,82h,72h,64h,44h db 82h,92h,82h,72h,64h,44h db 44h,84h,48h db 44h,14h,48h db 00hsong2: 。第3首歌 db 62h,82h,82h,62h,98h db 92h,0b2h,0b2h,82h,98h db 62h,82h,82h,52h,68h db 92h,0b2h,0b2h,82h,98h 。2 db 62h,82h,82h,62h,92h,92h,94h db 92h,0b2h,0b2h,92h,84h,94h db 0b8h,0b4h,04h db 00h e