- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
FFT汇编程序代码(国外英文资料)
FFT汇编程序代码(国外英文资料)
The FFT algorithm assembles the original program to share with you
; -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
; Quick payment of the leaf transform subroutine
;
; Entry: first address of a one-dimensional four-byte floating point group.
;
; With 2 for beta value, signal sampling points = ^ 2 beta;
;
; Exit: the value of the result of the original array.
;
; Additional instructions:
;
; 1. The required RAM subroutine has a capacity of 2 ^ beta * 12 bytes, the other needs
;
; A small number of stacks as a storage space for temporary variables;
;
; The required RAM space is based on the initial address of the input and the direction of the increase
;
; Extension;
;
; Examples:
;
; PUSH # 0A000H; Array first address stack
; PUSH # 6; Beta pressure stack
; CALL FFT
;
; -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
PROC FFT
FFT: LD FFT_CX, 2 [SP]
LD FFT_AX.
SHL FFT_AX, FFT_CL; Calculated sample points
PUSH FFT_AX; Stack the sample points
SHL FFT_AX, # 1;
LD FFT_BX, 6 [SP]; According to the sampling points,
ADD FFT_BX, FFT_AX; Calculate the remaining
PUSH FFT_BX; Three is to take up
ADD FFT_BX, FFT_AX; The first address of the space;
PUSH FFT_BX; And turn the first address in turn
SHL FFT_AX, # 1;
ADD FFT_BX, FFT_AX; Stack pressure;
PUSH FFT_BX;
LD FFT_CX, 6 [SP]
LD FFT_FX, # 2
LOOP1:
The CLR FFT_AX
SUB FFT_EX, FFT_CX, # 1
LD FFT_BX, FFT_EX
LD FFT_DX, 10 [SP]
LOOP2:
SHL FFT_AX, # 1;
SHR FFT_EX, # 1; Produce reverse order number
ADDC FFT_AX, 0;
DJNZW FFT_DX, LOOP2;
SHL FFT_AX, # 2
SHL FFT_BX, # 2; FFT_AX: generate the source address
ADD FFT_AX, 12 [SP]; FFT_BX: generates the destination address
ADD FFT_BX, 2 [SP]; Enter data in reverse order
BMOV fft_x, FFT_FX;
DJNZW FFT_CX, LOOP1;
LD FFT_AX, 1
您可能关注的文档
- 2012浙大《建设项目管理》在线作业(国外英文资料).doc
- 2011年继续教育财务工作中的EXCEL考题和答案 徐州版本(国外英文资料).doc
- 2011年9月计算机二级C语言笔试题及答案(国外英文资料).doc
- 2013年六年级语文毕业模拟试卷及答案(国外英文资料).doc
- 2013年小升初语文模拟试卷(含答案)(国外英文资料).doc
- 2013年春季中国石油大学单片机原理及应用三次作业答案(国外英文资料).doc
- 2013年春季基础会计学网上作业1(国外英文资料).doc
- 2013年管理系统中计算机应用选择总结(国外英文资料).doc
- 2014年电大程序设计基础记分作业3答案(国外英文资料).doc
- 2014最新塑料模具设计课题(国外英文资料).doc
最近下载
- 教师个人述职报告总结1500字.docx VIP
- 中国心房颤动管理指南(2025).pptx VIP
- 在线网课学习课堂《工业炉窑热工及构造(武汉科技大学)》单元测试考核答案.docx VIP
- 中国对金砖国家直接投资的宏观经济效应与战略优化研究.docx VIP
- 2014年10月自考全国康复护理学试题.doc VIP
- (正式版)D-L∕T 5776-2018 水平定向钻敷设电力管线技术规定.docx VIP
- 2.2水圈与水循环 课件(共63张PPT)(含音频+视频).pptx VIP
- 中国儿童呼吸道合胞病毒感染诊疗及预防指南(2025)学习与解读ppt课件.pptx VIP
- 2024年六西格玛绿带认证考试练习题库资料(含答案).pdf
- ISO22301业务连续性管理体系程序文件+三级文件(格式可转换).pdf VIP
文档评论(0)