首页 » 科学 » 单片机介绍2.1_存放器_法式

单片机介绍2.1_存放器_法式

少女玫瑰心 2025-01-14 01:41:50 0

扫一扫用手机浏览

文章目录 [+]

MCS-51单片机内部构造

单片机介绍2.1_存放器_法式 单片机介绍2.1_存放器_法式 科学

MCS-51即80C51芯片,由一个8位CPU,一个4KBROM和一个128BRAM,2×16T/C,4×8I/O,1个UART,5个INT以及2个64KBBEC组成。

单片机介绍2.1_存放器_法式 单片机介绍2.1_存放器_法式 科学
(图片来自网络侵删)

The MCS-51, or 80C51 chip, consists of an 8-bit CPU, a 4KBROM and a 128BRAM, 2×16T/C, 4×8I/O, 1 UART, 5 INTs, and 2 64KBBEC.

CPU先容

CPU由掌握器和运算器组成,掌握器由程序计数器PC、数据指针寄存器DPTR组成,用于统一指挥和掌握各单元折衷事情,从ROM中取出指令进行译码并实行指令;运算器由累加器ACC、程序状态字寄存器PSW组成,用于对数据进行算术运算和逻辑操作,读取打算缓存器内容,结果暂存,修正运行标志。

程序计数器用于勾引程序运行,指向ROM存储单元的地址指针,存放着下一条指令的首地址;数据指针寄存器用于勾引数据传送,指向ROM或RAM存储单元的地址指针。
累加器是存放操作数或中间运算结果的寄存器;程序状态字寄存器存放程序运行过程中的各种状态信息的寄存器,各位都有其分外意义,状态值可由硬件形成或由指令修正。

Cpu consists of controller and operator, controller consists of program counter PC, data pointer register DPTR, for unified command and control of each unit coordination work, from the ROM to take out instructions for decoding and executing instructions;

The program counter is used to boot the program, pointing to the address pointer of the ROM storage unit, which holds the first address of the next instruction, and the data pointer register is used to boot the data transfer, pointing to the address pointer of the ROM or RAM storage unit. The accumulator is a register that holds the operating number or intermediate operation results, and the program status word register holds the register of various state information in the course of the program operation, each of which has its special meaning, and the state value can be formed by hardware or modified by instruction.

参考资料:百度百科

翻译;谷歌翻译

本文由learningyard学苑原创,欢迎关注,部分内容来源于网络,如有侵权请联系。

文案|李恒宇

排版|李恒宇

审核|李小雪

标签:

相关文章

单片机介绍2.1_存放器_法式

MCS-51单片机内部构造MCS-51即80C51芯片,由一个8位CPU,一个4KBROM和一个128BRAM,2×16T/C,4...

科学 2025-01-14 阅读 评论0