STM8单片机的指令系统整理_2014年.docx
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
![preview](https://dl-preview.csdnimg.cn/87871175/0001-27cc970317ddea3f760a21cf411b1e12_thumbnail-wide.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
STM8单片机指令系统整理 STM8单片机的指令系统是一个复杂的系统,它由多种指令组成,每种指令都有其特定的功能和用途。本文将对STM8单片机的指令系统进行整理,详细介绍每种指令的格式、操作、寻址模式和执行周期。 1. ADC指令 ADC指令用于将 immediates 数值或寄存器中的内容带进位加到累加器 A 中。该指令有多种寻址模式,包括: * immediate寻址:ADCA, #imm8 * 寄存器寻址:ADCA, imm8 * 寻址寄存器中的内容:ADCA, (Soff,SP) * 相对于 X 的后偏移量:ADCA, (X) * 相对于 Y 的后偏移量:ADCA, (Y) * 相对于 X 的后偏移量:ADCA, (imm,X) * 相对于 Y 的后偏移量:ADCA, (imm,Y) * 相对于 X 的后偏移量:ADCA, (imm16,x) * 相对于 Y 的后偏移量:ADCA, (imm16,Y) 每种寻址模式都有其特定的执行周期,详见指令表。 2. ADD指令 ADD指令用于将 immediates 数值或寄存器中的内容加到累加器 A 中。该指令有多种寻址模式,包括: * immediate寻址:ADDA, #imm8 * 寄存器寻址:ADDA, imm8 * 寻址寄存器中的内容:ADDA, (Soff,SP) * 相对于 X 的后偏移量:ADDA, (X) * 相对于 Y 的后偏移量:ADDA, (Y) * 相对于 X 的后偏移量:ADDA, (imm,X) * 相对于 Y 的后偏移量:ADDA, (imm,Y) * 相对于 X 的后偏移量:ADDA, (imm16,x) * 相对于 Y 的后偏移量:ADDA, (imm16,Y) 每种寻址模式都有其特定的执行周期,详见指令表。 通过对STM8单片机指令系统的整理,我们可以更好地理解每种指令的功能和用途,从而更好地设计和编写程序。
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![](https://csdnimg.cn/release/download_crawler_static/87871175/bg1.jpg)
![](https://csdnimg.cn/release/download_crawler_static/87871175/bg2.jpg)
![](https://csdnimg.cn/release/download_crawler_static/87871175/bg3.jpg)
![](https://csdnimg.cn/release/download_crawler_static/87871175/bg4.jpg)
![](https://csdnimg.cn/release/download_crawler_static/87871175/bg5.jpg)
剩余22页未读,继续阅读
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
- 粉丝: 84
- 资源: 2万+
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)