文件名称:blackfin
介绍说明--下载内容均来自于网络,请自行研究使用
利用C语言调用汇编子程序
其中5个输入参数和3个返回结果的汇编子程序调用
a) 输入整数a,b,c,d,e,
b) 请计算a+b+c,a+c+d+e,a-b的值
c) 讨论a-b后算术状态标志寄存器的状态 (ASTAT)
d) 请讨论输入整数数组e[3],f[3],参数如何传递的
本实验要求在Visual DSP++ ADSP-BF535 Blackfin环境中编写一个简单的程序:C语言的主程序调用汇编语言的函数,完成简单的加法、减法。实验重点在于掌握汇编程序的调用方法,以及参数的传递,寄存器的数据存放。-Using C language to call the assembly routines which five input parameters and return results compiled three subroutine calls a) input integers a, b, c, d, e, b), calculate a+ b+ c, a+ c+ d+ e, ab value of c) discuss the ab after the arithmetic status flags register state (ASTAT) d) Please discuss the input integer array e [3], f [3], parameters to pass the test required in Visual DSP++ ADSP- BF535 Blackfin environment, write a simple program: C language, assembly language function called main program to complete simple addition and subtraction. Experiment focused on master assembler call methods and pass parameters, register the data store.
其中5个输入参数和3个返回结果的汇编子程序调用
a) 输入整数a,b,c,d,e,
b) 请计算a+b+c,a+c+d+e,a-b的值
c) 讨论a-b后算术状态标志寄存器的状态 (ASTAT)
d) 请讨论输入整数数组e[3],f[3],参数如何传递的
本实验要求在Visual DSP++ ADSP-BF535 Blackfin环境中编写一个简单的程序:C语言的主程序调用汇编语言的函数,完成简单的加法、减法。实验重点在于掌握汇编程序的调用方法,以及参数的传递,寄存器的数据存放。-Using C language to call the assembly routines which five input parameters and return results compiled three subroutine calls a) input integers a, b, c, d, e, b), calculate a+ b+ c, a+ c+ d+ e, ab value of c) discuss the ab after the arithmetic status flags register state (ASTAT) d) Please discuss the input integer array e [3], f [3], parameters to pass the test required in Visual DSP++ ADSP- BF535 Blackfin environment, write a simple program: C language, assembly language function called main program to complete simple addition and subtraction. Experiment focused on master assembler call methods and pass parameters, register the data store.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shuzhu_add\aaa.c
..........\add.asm
..........\add.dpj
..........\add.dpj.bak
..........\add.mak
..........\add.pcf
..........\add_1.dpj
..........\add_1.mak
..........\Debug\aaa.doj
..........\.....\add.doj
..........\.....\add.dxe
..........\.....\add.log
..........\.....\add_1.log
..........\.....\linker_log.xml
..........\Debug
shuzhu_add
..........\add.asm
..........\add.dpj
..........\add.dpj.bak
..........\add.mak
..........\add.pcf
..........\add_1.dpj
..........\add_1.mak
..........\Debug\aaa.doj
..........\.....\add.doj
..........\.....\add.dxe
..........\.....\add.log
..........\.....\add_1.log
..........\.....\linker_log.xml
..........\Debug
shuzhu_add