用汇编编写的乐曲程序

时间:2013-01-09 08:20:33
【文件属性】:

文件名称:用汇编编写的乐曲程序

文件大小:1010B

文件格式:TXT

更新时间:2013-01-09 08:20:33

乐曲

DATA SEGMENT FREQ DW 262,294,330,262,262,294,330,262,330,349,392 DW 330,349,392,392,440,392,349,330,262,392,440 DW 392,349,330,262,294,196,262,294,196,262,-1 TIME DW 8 DUP(800),2 DUP(800,800,1600) DW 2 DUP(400,400,400,400,800,800) DW 2 DUP(800,800,1600) DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA MAIN PROC FAR START:MOV AX,DATA MOV DS,AX MOV SI,OFFSET FREQ MOV DI,OFFSET TIME L1:MOV CX,[SI] CMP CX,-1


网友评论