单片机多字节数值最小组筛选的汇编语言算法  被引量:2

Assembly Language Algorithm for Multibyte Value Minimum Group Selection of MCU

在线阅读下载全文

作  者:范兴文[1] 张姝[1] FAN Xing-wen;ZHANG Shu(Fuxin Higher Training College,Fuxin 123000,China)

机构地区:[1]阜新高等专科学校,辽宁阜新123000

出  处:《辽宁高职学报》2020年第2期85-88,共4页Journal of Liaoning Higher Vocational

摘  要:在单片机应用中常碰到比较多字节数值、确定最小数值所在组的问题。利用最高位数值存储单元地址作为组别标志,提出了筛选多字节数值最小组别的汇编语言算法,计算结束后将最小组别标志存储于固定单元中。在该算法的基础上,通过设置后一级数值比较的起始地址及循环控制起始数值,可完成无限字节数值最小组别筛选,也可修改关键程序完成最大组别筛选。In the application of MCU, we often encounter the problem of comparing multibyte values and determining the group of the minimum value. By using the address of the highest bit value storage unit as the grouping symbol, an assembly language algorithm is proposed to filter the multibyte value and store the minimum grouping symbol in a fixed unit after the calculation. On the basis of this algorithm, by setting the starting address of the value comparison in the later level and circularly controlling the starting value, the minimum group filtering of infinite byte value can be completed, and the maximum group filtering can also be completed by modifying the key program.

关 键 词:单片机 多字节数值 最小组别筛选 汇编语言 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象