下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、The Principle and Application of微型计算机原理及应用puter B这门课比较抽象,主要讲了计算机的工作原理,以 8086 为例。比如,当输入一个十进制的数,在键盘上,电脑是如何辨别输入的数呢?电脑里面用的是二进制,当输入十进制数时,电脑会自动把它转化为二进制,转化过程是(举例子)。8086 是 16 位处理器的典型代表,也是er 80X86 系列的第一个产品。主要由总线接口单元和执行单元。总线接口单元里面主要有四个段地址寄存器(CS16 位代码段寄存器;DS数据段寄存器; ES附加段;SS堆栈段)。执行单元里面有 4 个通用寄存器(累加器(AX),基址寄存器(B
2、X),计数寄存器(CX),数据寄存器(DX)和 4 个C 语言:#include main()i,sum;i=1;sum=0; while(i=100)i+=1;寄存器(BP,SP,SI,DI)。sum=sum+i;prf(sum is %d,sum);return 0;This course involves 包含 the parallel port 并行端口, the serial port串行端口, D/A (Digital toog) Converter 转换, A/D Converter, thedigital code displayer 数字代码显示器, and the keyb
3、oard, espe programming and the method of researching 研究 a application system.lly I/O puterputrinciple and Applicationsroduction: The students are requested to master the basic architectureof computer and its running principle. They will learn assembly languageprogramming, in order to get the foundat
4、ionhe compute control. Thiscourse will involve the architecture and principle of Mcs-51 serialprosor, theerruption techniques, the extenof the prosor, andassembly language programming.一、Fundamentals:a.ThecharacteristicsofMono-chip:highlyegrated,simplestructure, high reliability, strongfunctionsto co
5、ntrol, cheap,flexible usage.b.Storage capacity=2(*n)*mOperation运算 1) add 2)subtraction 3) multiply 0*0=00*1=1*0=01*1=1c.Logical operation 1) And00=001=10=011=1 2)Or00=001=10=111=1二、Structure and working principles:a. Makeup: CPU, timer circuit, Read Only Memory, Random AcsMemory, Timer and Counter,
6、St connect Input/output 串行口,errupt control system.1. A central prosing unit (CPU): is an electronic circuitt canexecute computrograms.2. A Random-acs memory (RAM): is a form of computer data storage.A random-acs device allows stored dao be acsed in very nearlythe same amount of time for any storage
7、location, so dan be acsedquickly in any random order. Its usually used to store data. It can bothread and write. But when the machine iser off, data in a RAM willdisappear.3. A Read-only memory (ROM): is a class of storage medium used incomputers and other electronic devi. Data stored in ROM cannot
8、bemodified, or can be modified only slowly or with difficulty, so it ismainly used to distribute firmware (softwaret is very closely tied tospecific hardware, and unlikely to need frequent updates).4. Input/Outputerface: is anegrated circuit by which thecomputer can exchange information with the ext
9、ernal devi.P0, P1, P2 and P3 are input and outputerface. They all have thefunction of transmitting input data and output data of a prosor.RESET pin: can initialize the se of the prosor. And 8051(eight zerofive one) has two form of reset:er-on reset and manual reset.5Timer or counter: is a spelized t
10、ype of clock. It can be used tocontrol the sequence of an event or pros.6.errupt system: Anerrupt refers tot the prosor stopsexecution of the original program and begins execution of anerrupthandler after which the prosor will return to execute the originalprogram.In systems programming, anerrupt is
11、 a signal to the prosor or aninstruction in software usually indicating an eventt needs immediateattention. Anerrupt signals the prosor of a high-priority conditionrequiring theerruption of the current code the prosor is executing,the current thread. The prosor responds by suspending its currentacti
12、vities,savingits se,andexecutingasmallprogramcalledanerrupndler (errupt service routine, ISR) to deal with the event.Thiserruption is temporary, and after theerrupndler finishes, theprosor resumes execution of the previous thread.b.ernal structure and functions: operator 运算器 (arithmeticlogic unit 算术
13、逻辑单元, accumulator 累加器, register 寄存器, Program Sus Word), controller 控制器(Program Counter,DPTR), assemble language 汇编语言The prosor of a MCS-51 single-chip computer usually has forty pins.For exle(引脚图):8051 is a type of CPU of MSC-51. This figureshows its pins. And this form is called a dual in-line pack
14、age (DIP). (标出两根电源线 20 21)Theory and application ofputer 微机原理及实验ernal structure of a2.This course is mainly about theputer and some important concepts aboutputers.There are many kinds ofputers, and we mainly learnedMCS-51 single-chip computer.Fundamental characteristic: highlyegrated, simple structu
15、re, highreliability, strong function to control,cheap flexible usage.3. Structure and working principlesa. Makeup: CPU, timer circuit, Read Only Memory, Random AcsMemory, Timer and Counter, St connect Input/output, 串行口,errupt control system.b.ernal structure and functions: operator 运算器 (Arithmeticlo
16、gic unit 算术逻辑单元, Accumulator 累加器, register 寄存器,Program Sus Word), controller 控制器(Program Counter, DPTR)assemble langusge (汇编语言)4.ernal structure and functions: operator 运算器 (Arithmeticlogic unit 算术逻辑单元, Accumulator 累加器, register 寄存器,Program Sus Word), controller 控制器(Program Counter, DPTR)实验:the name of my design is “Furnace Temperature control systemb
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 跨境电商海外仓管理合同2025年
- 跨境电商独立站广告预算管理合同协议2025年
- 2025 小学六年级语文上册诗歌情感基调把握课件
- 考研住宿服务合同2025年模板大全下载
- 银行业高管面试题及答案
- 深度解析(2026)《GBT 34372-2017手扶拖拉机 牵引装置尺寸及动力输出装置型式》
- 深度解析(2026)《GBT 34259-2017冬香薄荷》
- 2026年杭州市丁信第二幼儿园代课教师招聘备考题库及一套参考答案详解
- 三明市皮肤病医院公开招聘2025年工作人员备考题库及答案详解参考
- 2026年公开招聘大宁县第四次全国农业普查办公室工作人员的备考题库及一套完整答案详解
- 2026年湖南电气职业技术学院单招综合素质考试题库含答案详解
- 2025年昆明市呈贡区城市投资集团有限公司及下属子公司第二批招聘(11人)备考核心题库及答案解析
- 2025年度护士个人工作总结与展望
- 医院副院长年度工作述职报告范文
- 工地给水管预埋施工方案
- 住宅项目施工质量自检与审查方案
- 地理试卷(26-138B)+答案河北省邢台市卓越联盟2025-2026学年第一学期高二12月期中考试(12.4-12.5)
- 2025年粮油质量检验员知识竞赛考试题库500题(含答案)
- 雨课堂学堂云在线《医学文献检索与利用(福建中医药大学 )》单元测试考核答案
- 怡宝品牌策划推广方案
- 医疗洁净板墙面施工方案
评论
0/150
提交评论