网站大量收购独家精品文档,联系QQ:2885784924

FFT汇编程序代码(国外英文资料).doc

  1. 1、本文档共29页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
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

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档