文件名称:7

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [WORD]
  • 上传时间:
  • 2014-08-09
  • 文件大小:
  • 461kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 杜**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

有一组16个数,分别统计负数、0、正数的个数,并将结果保存number

   area reset,data,readwrite

source dcb 1,2,5,-6,-5,3,0,7,-9,0,0,5,12,-94,-3,55

number dcb 0,0,0 分别保存统计得到的 负数,0,正数的个数



对数据区进行64位结果累加操作

先对内存地址0x3000开始的100个字内存单元填入0x10000001~0x10000064字数据,然后将每个字单元进行64位累加结果保存于【r9:r8】中(r9中存放高32位)。

先通过循环对内存单元进行赋值,再将100个字进行累加。





求一个数的阶乘(64位结果)

用ARM汇编语言程序设计实现求20!(20的阶乘),并将其64位结果放在【r9:r8】中(r9中存放高32位)。

设计思路:64位结果的乘法指令通过两个32位寄存器相乘,可以得到64位结果,在每次循环相乘中,可以将存放64位结果的两个寄存器分别与递增量相乘,最后将得到的高32位结果相加。-There is a group number 16, respectively Statistics negative, zero, positive number, and save the result number

          area reset, data, readwrite

source dcb 1,2,5,-6,-5,3,0,7,-9,0,0,5,12,-94,-3,55

number dcb 0,0,0 were preserved statistics obtained negative, 0, the number of positive numbers



For data area 64 cumulative operating result

  First memory unit of 100 words began to fill the memory address 0x3000 0x10000001 ~ 0x10000064 word data, and then each word unit 64 cumulative result is saved in [r9: r8] in (r9 stored in the high 32).

  First through the loop on the memory unit assignment, then 100 words accumulate.





Seeking a number of factorial (64 results)

ARM assembly language programming seeking to achieve 20! (Factorial 20), and 64 results in [r9: r8] in (r9 stored in the high 32).

Design ideas: 64 results multiply instruction is multiplied by two 32-bit registers, you can get 64 results in multiplying each cycle, you c
(系统自动生成,下载前可以参看下载内容)

下载文件列表





2011020200005 杜瑜瑜7

.....................\7.doc

.....................\test1

.....................\.....\DebugInRam.ini

.....................\.....\test.sct

.....................\.....\test1.axf

.....................\.....\test1.d

.....................\.....\test1.htm

.....................\.....\test1.lnp

.....................\.....\test1.lst

.....................\.....\test1.map

.....................\.....\test1.o

.....................\.....\test1.plg

.....................\.....\test1.s

.....................\.....\test1.tra

.....................\.....\test1.uvgui.zhang's wife

.....................\.....\test1.uvgui_zhang's wife.bak

.....................\.....\test1.uvopt

.....................\.....\test1.uvproj

.....................\.....\test1_Target 1.dep

.....................\.....\test1_uvopt.bak

.....................\.....\test1_uvproj.bak

.....................\test2

.....................\.....\DebugInRam.ini

.....................\.....\test.sct

.....................\.....\test2.axf

.....................\.....\test2.d

.....................\.....\test2.htm

.....................\.....\test2.lnp

.....................\.....\test2.lst

.....................\.....\test2.map

.....................\.....\test2.o

.....................\.....\test2.plg

.....................\.....\test2.s

.....................\.....\test2.tra

.....................\.....\test2.uvgui.zhang's wife

.....................\.....\test2.uvopt

.....................\.....\test2.uvproj

.....................\.....\test2_Target 1.dep

.....................\.....\test2_uvproj.bak

.....................\test3

.....................\.....\DebugInRam.ini

.....................\.....\test.sct

.....................\.....\test3.axf

.....................\.....\test3.d

.....................\.....\test3.htm

.....................\.....\test3.lnp

.....................\.....\test3.lst

.....................\.....\test3.map

.....................\.....\test3.o

.....................\.....\test3.plg

.....................\.....\test3.s

.....................\.....\test3.tra

.....................\.....\test3.uvgui.zhang's wife

.....................\.....\test3.uvgui_zhang's wife.bak

.....................\.....\test3.uvopt

.....................\.....\test3.uvproj

.....................\.....\test3_Target 1.dep

.....................\.....\test3_uvopt.bak

.....................\.....\test3_uvproj.bak

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org