ZKX's LAB

汇编语言音乐程序设计 汇编音乐播放原理

2021-04-26知识13

求一个用汇编语言写的音乐播放器代码(最高只能100分了,答好了追加)谢谢各位大神了 汇编语言编写的音乐播放器程序,汇编指令代码编写的http://download.csdn.net/detail/C1_2_/2945078

急求用89c51单片机 音乐两只老虎的汇编程序及仿真原理图 谢谢! 那个程序刚刚给你找了好久才找到,呵呵HUAN BIT 20HORG 0000HJMP MAINORG 000BHMOV TL0,R2MOV TH0,R3CPL P3.5RETIORG 001BHDJNZ R4,GOONMOV IE,#80HJMP T1ENDGOON:MOV TL1,#3CHMOV TH1,#0B0HT1END:RETIORG 0100HMAIN:MOV R5,#99HLOOP:MOV TMOD,#11HMOV IP,#02HMOV TH0,#3CHMOV TL0,#0B0HSETB EANEXT:MOV DPTR,#TABMOV R1,#00HL1:MOV A,R1MOVC A,@A+DPTRMOV R3,AJZ L3INC R1MOV A,R1MOVC A,@A+DPTRMOV R2,AXRL A,#0FFHJNZ L4MOV A,R3XRL A,#0FFHJZ L5L4:INC R1MOV A,R1L3:MOVC A,@A+DPTRMOV R4,AMOV TH0,R3MOV TL0,R2SETB ET0SETB TR0SETB ET1SETB TR1SETB HUANJB HUAN,$INC R1CJNE R1,#00H,L2INC DPHL2:JMP L1L5:DJNZ R5,LOOPJMP$TAB:DB 0FBH,0F9H,08H,0FCH,066H,08H,0FCH,0C7H,08H,0FBH,0F9H,08HDB 0FBH,0F9H,08H,0FCH,066H,08H,0FCH,0C7H,08H,0FBH,0F9H,08HDB 0FCH,0C7H,08H,0FCH,0F3H,08H,0FDH,0A4H,10H,0FCH,0C7H,08HDB 0FCH,0F3H,08H,0FDH,04AH,08H,0FDH,04AH,04H,0FDH,095H,04HDB 0FDH,04AH,04H,0FCH,0F3H,04H,0FCH,0C7H,08H,0FBH,0F9H,08HDB 0FDH,04AH,04H,0FDH,095H,04H,0FDH,4AH,08H,04H,0。

汇编音乐演奏代码问题 sound:;演奏子程序mov al,0b6hout 43h,al;设定方波模式mov dx,14h;定时器发音常数mov ax,4f38hdiv word ptr[si];频率out 42h,al;输出低位mov al,ahout 42h,al;输出高位in al,61h;读控制字mov ah,alor al,03hout 61h,al;开启扬声器mov bx,3600;延时1秒R1:mov cx,2801Hloop$dec bxjnz R1mov al,ah;关闭扬声器out 61h,alret

#汇编原理#中考数学模型汇编瓜豆原理#键盘扫描原理汇编#汇编器工作原理#微机原理和汇编

随机阅读

qrcode
访问手机版