文件名称:7
介绍说明--下载内容均来自于网络,请自行研究使用
有一组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
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