freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

電子音樂盒設(shè)計(jì)方案(完整版)

  

【正文】 MOV R7,00H MOV OUT_NUM,11111001B 。只有在定時(shí)器定時(shí)時(shí)間或計(jì)數(shù)值到,定時(shí)器溢出時(shí)才可能中斷CPU當(dāng)前工作,請(qǐng)求CPU處理。首先通過桌面進(jìn)入主程序,然后在[System]選擇設(shè)置紙張大小,通過快捷鍵G設(shè)置柵格的關(guān)閉與顯示。PROTEUS ISIS中也支持塊操作,當(dāng)用戶需要對(duì)電路中的某一部分進(jìn)行操作時(shí),可以使用該功能。 硬件制作所需器件名稱型號(hào)數(shù)量排阻3電阻1KΩ2電容22PF2電容22μF2數(shù)碼管SM4105W8U38按鍵開關(guān)6輕觸開關(guān)FS6601H4晶振12MHZ1LED燈紅、黃、綠任選一個(gè)單片機(jī)AT89S511導(dǎo)線普通若干電路板13cm25cm2 硬件制作在連接板子的時(shí)候,首先把各個(gè)部件焊接好,并連接線路,之后用萬(wàn)用表檢查每項(xiàng)線路的連接狀態(tài),然后把程序刷人單片機(jī)中,檢測(cè)運(yùn)行情況,在硬件調(diào)試完畢后,接入+5V電源。定時(shí)器0置初值 MOV TL0,20H CPL OUT 。對(duì)下首要演唱的歌曲的幾分拍進(jìn)行調(diào)整,同時(shí)對(duì)R0中的內(nèi)容進(jìn)行保護(hù) MOV R4,00H MOV R0,30H MOV A,R7 ADD A,R0 MOV R0,A MOV DPH,R0 INC R0 MOV DPL,R0 INC R0 MOV A,R4 INC R4 MOVC A,A+DPTR MOV 26H,A 。是否是第一首 MOV 22H,N 。R0中的內(nèi)容恢復(fù) POP DPL 。共陽(yáng)數(shù)碼管顯視用END TABLE: DW SONG1,TABLE1,SONG2,TABLE2,SONG3,TABLE3,SONG4,TABLE4 ,SONG5,TABLE5TABLE1:DW 64580,64684,64777,64820,64898,64968,65030 DW 63628,63835,64021,64103,64260,64400,64524SONG1: DB 04H 。1 DB 82H,01H,81H,94H,84H DB 0B4H,0A4H,04H DB 82H,01H,81H,94H,84H DB 0C4H,0B4H,04H 。1 DB 0A2H,0B2H,0D2H,0B2H,0A4H,0B2H,0D2H DB 0B2H,0A2H,82H,72H,88H DB 72H,82H,0A2H,82H,72H,62H,42H,62H DB 38H,38H 。s entire line of products since it can perform many functions and developers will only have to learn this one platform. The basic architecture consists of the following features: an eight bit ALU 32 descrete I/O pins (4 groups of 8) which can be individually accessed two 16 bit timer/counters full duplex UART 6 interrupt sources with 2 priority levels 128 bytes of on board RAM separate 64K byte address spaces for DATA and CODE memory One 8051 processor cycle consists of twelve oscillator periods. Each of the twelve oscillator periods is used for a special function by the 8051 core such as op code fetches and samples of the interrupt daisy chain for pending interrupts. The time required for any 8051 instruction can be puted by dividing the clock frequency by 12, inverting that result and multiplying it by the number of processor cycles required by the instruction in question. Therefore, if you have a system which is using an clock, you can pute the number of instructions per second by dividing this value by 12. This gives an instruction frequency of 921583 instructions per second. Inverting this will provide the amount of time taken by each instruction cycle ( microseconds). Organization The 8051 architecture provides the user with three physically distinct memory spaces which can be seen in Figure A 1. Each memory space consists of contiguous addresses from 0 to the maximum size, in bytes, of the memory space. Address overlaps are resolved by utilizing instructions which refer specifically to a given address space. The three memory spaces function as described below. The CODE Space The first memory space is the CODE segment in which the executable program segment can be up to 64K (since it is addressed by 16 address lines) . The processor treats this segment as read only and will generate signals appropriate to access a memory device such as an EPROM. However, this does not mean that the CODE segment must be implemented using an EPROM. Many embedded systems these days are using EEPROM which allows the memory to be overwritten either by the 8051 itself or by an external device. This makes upgrades to the product easy to do since new software can be downloaded into the EEPROM rather than having to disassemble it and install a new EPROM. Additionally, battery backed SRAMs can be used in pl。3 DB 44H,02H,32H,44H,64H DB 72H,82H,72H,62H,72H,84H,0A2H DB 72H,74H,82H,0A4H,02H,062H DB 0A8H,0A8H 。3 DB 82H,01H,81H,94H,84H DB 0B4H,0A4H,04H DB 82H,01H,81H,94H,84H DB 0C4H,0B4H,04H 。1=C 4/4 死了都要愛DB 04H,94HDB 0E8H,0E4H,0E4H,0E8H,0E4H,0F4H,0D4H,0C4H,0B4H,84H,84H,92H,92H,94H,92H,02HDB 0A4H,0A2H,0B2H,0B4H,0C4H,84H,82H,92H,94H,0A4HDB 04H,0C2H,0C2H,0D4H,0C2H,0D2H,0D8H,0D4H,0D2H,92HDB 0E8H,0E4H,0E4H,0E8H,0E4H,0F4H,0D4H,0C4H,0B4H,84H,84H,92H,92H,94H,92H,02HDB 0A4H,0A2H,0B2H,0B4H,0C4H,0E8H,0D8HDB 0C8H,0C8H,08H,08H,78H,28H,38H,34H,24HDB 24H,64H,64H,24H,64H,72H,72H,78H,58H,54H,44H,38H,34H,14H,34H,84H,74H,74H,62H,62H,0D8H,78H,28H,38H,34H,24HDB 24H,64H,64H,24H,64H,72H,72H,72H,94H,92H,94H,0A4H,58H,58H,54H,44H 。中斷返回START_PAUSE:CPL F0 。將R7指向最后一首歌曲 MOV A,N1 MUL AB MOV R7,A AJMP BACK2 ?;謴?fù)R0中的內(nèi)容 POP DPL 。下一曲中斷程序處理,保護(hù)現(xiàn)場(chǎng) PUSH DPH PUSH DPL CLR EA 。同時(shí)要求我從程序編程,調(diào)試,軟件仿真和繪制開始,到硬件的焊接和調(diào)試,再到修改程序,在這期間我了解到了單片機(jī)開發(fā)的大致流程。我們繪制完所有的元件后,最后進(jìn)行統(tǒng)一標(biāo)注,PROTEUS ISIS支持注釋功能,可以把我們所繪制的原理圖中的器件根據(jù)我們的需要添加上特殊的注釋,以表示特定的含義??梢酝ㄟ^點(diǎn)擊選擇器頂端左側(cè)的“P”或者通過命令打開,我們常用的是按鈕;在查找到并放置完所有需要的器件后,我們需要接著連接元件,即在PROTEUS ISIS的編輯窗口布線。定時(shí)流程圖 定時(shí)50ms流程圖主程序:ORG 0000H 。沒有全部唱完,唱下一首,歌曲的入口信息調(diào)整 ADD A,4 MOV R7,A INC 22H CLR EA PUSH DPH PUSH DPL MOV A,22H MOV DPTR,OUT_TAB MOVC A,A+DPTR MOV OUT_NUM,A 。暫停,不唱 JB F0,$ 。不為0,取出節(jié)拍數(shù) ANL A,0FH MOV R2,A MOV A,R1 SWAP A ANL A,0FH JNZ SING 。將正在播放的歌曲編號(hào)送數(shù)碼管顯視 MOV A,22H MOVC A,A+DPTR MOV OUT_NUM,A MOV R7,00H 。高優(yōu)先級(jí) SETB EX1 。 SETB ET1 。R6存放正在設(shè)置入口信息的歌曲數(shù)SET_TAB: MOV A,R5 。外部中斷1接下一曲歌按鍵 ORG 001BH AJMP START_PAUSE 。ABS文件由OH51轉(zhuǎn)換成標(biāo)準(zhǔn)的Hex文件,以供調(diào)試器dScope51或tScope51使用進(jìn)行源代碼級(jí)調(diào)試,也可由仿真器使用直接對(duì)目標(biāo)板進(jìn)行調(diào)試,也可以直接寫入程序存貯器如EPROM中。用過匯編語(yǔ)言后
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1