【正文】
8B 的內(nèi)存中,有 32 byteses,被稱作工作寄存器,和常用的微處理器不同的是, 8051 的 RAM 是按功能來劃分模塊的。 8051 和其他單片機一樣,都有相同的控制和功能,就像樂隊也 有打擊樂器一樣。該控制器包括程序計數(shù)器,可讀寫的存儲器,振蕩器和定時電路等。 Acc 累加器是 ALU 運算結(jié)果的存放單元,一般數(shù)據(jù)通過它來傳送。( 7) 1 個雙向串行 I / O 口的 UART(通用異步接收器 /發(fā)送器 UART),用于實現(xiàn)單片機的串行通信。但是在一些單片機中不使用 ROM / EPROM 中,如 8031, 8032, 80c 系列等。一般情況習(xí)慣用 8051 來代表 51 系列單片機。 畢業(yè)設(shè)計 (論文 )外文資料翻譯 院(系) : 信息科學(xué)與技術(shù)學(xué)院 專 業(yè): 電子信息 科學(xué)與技術(shù) 姓 名: 學(xué) 號: 外文出處: from inter Structure and function of the MCS51 series 附 件: ; 。它包含很多種這類型的單片機,如 8051, 8031, 8751, 80C51BH, 80C31BH 等,它們的基本組成,基本性能和指令系統(tǒng)都是一樣的。( 3)程序存儲器 ROM / EPROM 中( 4KB/8KB),用來保存程序和一些初始數(shù)據(jù)。( 6)五個中斷源控制系統(tǒng)。其中, CPU 是單片機的核心,它是單片機的控制和指揮中心, ALU 算數(shù)邏輯運算單元可進行算術(shù)運算和邏輯運算,由 1 個 8 暫時存儲器,和 2 個 8 位的累加器組成。有記憶功能并執(zhí)行命令。該脈沖信號,即為 8051 的工作周期,是最小的時間單位。 805 875 8031 數(shù)據(jù)存儲器的內(nèi)存為 128B,默認地址是 00FH,用于保存中間數(shù)據(jù)和緩存。在訪問的內(nèi)存,不管是 ROM 和 RAM,只有一個地址對應(yīng)一個內(nèi)存單元,都要按這個順序訪問。( 2)外部數(shù)據(jù)存儲器地址空間為 64KB,地址是從 0000H 到 FFFFH(含 16 個地址)的位置排列也。 2 8051 單片機有 4 個 8 并行的 I / O 端口,分別為 P0, P1, P2 和 P3。使數(shù)據(jù)能夠鎖存輸出,數(shù)據(jù)可以及時緩沖,其余四個具有相同的功能??梢岳酶淖冸娮璧妮敵龃笮。苯拥爻洚?dāng)震蕩開路,不需要添加外部電阻。其主要功能是把初始地址設(shè)為 0000H,使單片機從 0000H 的地址開始運行程序。 初始化時,需要兩部分外部電路。一個單片機系統(tǒng)能否正常運行,應(yīng)先檢查它有沒有正確的復(fù)位電路。 P0 mouth is a twoway bus, send the introduction of 8 low addresses and data / export in timesharing Output grade , P3 of mouth , P1 of P1 , connect with inside have load resistance of drawing , every one of they can drive 4 Model LS TTL load to output. As while inputting the mouth, any TTL or NMOS circuit can drive P1 of 8051 onechip puters as P3 mouth in a normal way . Because draw resistance on output grade of them have, can open a way collector too or drainsource resistance is it urge to open a way, do not need to have the resistance of drawing outerly . Mouths are all accurate twoway mouths too. When the conduct is input, must write the corresponding port latch with 1 first . As to 80C51 onechip puter, port can only offer milliampere of output electric currents, is it output mouth go when urging one ordinary basing of transistor to regard as, should contact a resistance among the port and transistor base , in order to the electricity while restraining the high level from exporting P1~P3 Being restored to the throne is the operation of initializing of an onechip puter. Its main function is to turn PC into 0000H initially , make the onechip puter begin to hold the conduct procedure from unit 0000H. Except that the ones that enter the system are initialized normally,as because procedure operate it make mistakes or operate there aren39