基于嵌入式MCU的计算器电路结构及指令分析
居水荣 , 王 效
(无锡华晶矽科微电子有限公司设计所,江苏 无锡 214061)
摘 要: 本文介绍了一种基于嵌入式专用MCU的计算器电路,重点介绍了该类型电路的结构及指令系统,并给出了一个实际运算的程序流程.
关键词: MCU;结构;指令系统
中图分类号: TN43 文献标识码: A 文章编号: 100820147(2001)04246205
Structure and Instruction Analysis of Calculator Circuit
Based on4-bit Embedded-System
JUShui2rong,WANGXiao
(WuxiHuajingSemicoMicroelectronicsCO.,LTD,WuxiJiangsu,214061,China)
Abstract: A calculator circuit based on 4-bit embedded-system isintroduced.The emphasis is put on its structure and instruction system,and for example,a flow chart of program is also given.
Keywords: MCU; Circuit structure; Instruction system
收稿日期:2001-03-19
1 引言
电子计算器以其结构小巧!使用方便!价格低廉等优点被广泛应用于会计统计,数据处理,科研计算,工程设计,测试控制,终端处理等很多方面.因此作为电子计算器的核心元件计算器电路有其广泛的市场.近年来我们开发了多种类型的计算器电路,大致分成两类:第一类是基于嵌入式专用MCU的计算器电路,有8位带键音P不带键音计算器电路,10位科学计算器,10位点阵显示科学计算器,10P12位可选计算器电路,12P14位可选计算器电路,16位计算器电路等;第二类是基于通用CPU内核(如6502)的计算器电路,如带万年历,世界时,音乐闹铃等的8位计算器电路等.对于第二类计算器电路,由于选用通用的CPU内核,其结构和指令都是公开的,因此设计起来应该说比较方便,而对于第一类计算器电路,由于采用嵌入式专用MCU,其结构和指令都是未公开的,都有待于设计时去分析,本文给出了一类计算器电路的结构和指令系统,希望对从事该类型产品的工程师有所帮助.
1 Introduction
Compact electronic calculator in its structure! Easy to use! The advantages of low prices are widely used in the accounting statistics, data processing, scientific computing, engineering design, test control, terminal handling a lot of respect. So as a core component of the electronic calculator calculator circuit has its broad market. In recent years we have developed various types of calculators circuit, broadly divided into two categories: The first category is based on a dedicated MCU embedded calculator circuit, Has eight key tone with P non-key tone calculator circuit 10 scientific calculator, 10 dot matrix display scientific calculator, 10P12-bit optional calculator circuit, 12P14-bit optional calculator circuit 16 Calculator circuit, etc.; The second category is based on a common core CPU (such as 6502) of the calculator circuit, such as with calendar, world, music alarm, such as 8-bit calculator circuit. Calculator circuit for the second category, because of selection of general-purpose CPU core, its structure and commands are open, and therefore it should be said that the design of more convenient. For the first category calculator circuit, because of the use of a dedicated embedded MCU, its structure and commands are not open to the public, are to be designed to analyze. In this paper, a class calculator circuit structure and command system, and they hope to engage in this type of product engineers help.
下一页