Interfacing C and TMS320C6713 Assembly Language (Part II)

Author:

Wardak Abdullah A.1

Affiliation:

1. Southampton Solent University, Southampton, United Kingdom

Abstract

In this paper, an interfacing of C and the assembly language of TMS320C6713 is presented. Similarly, interfacing of C with the assembly language of Motorola 68020 (MC68020) microprocessor is also presented for comparison. However, it should be noted that the way the C compiler passes arguments from the main function in C to the TMS320C6713 assembly language subroutine is totally different from the way the C compiler passes arguments in a conventional microprocessor such as MC68020. Therefore, it is very important for a user of the TMS320C6713-based system to properly understand and follow the register conventions and stack operation when interfacing C with the TMS320C6713 assembly language subroutine. This paper describes the application of special registers and stack in the interfacing of these programming languages. Working examples of C and their implementation in the TMS320C6713 assembly language are described in detail. Finally, the concept presented in this paper has been tested extensively by examining different examples under various conditions and has proved highly reliable in operation.

Publisher

World Scientific and Engineering Academy and Society (WSEAS)

Subject

General Computer Science

Reference14 articles.

1. A.A. Wardak, “Interfacing C and TMS320C6713 Assembly Language (Part-I)”. CESSE 2009 : International Conference on Computer, Electrical, and Systems Science, and Engineering, January 28-30, 2009, Dubai, United Arab Emirates

2. A. A. Wardak, G.A. King, R. Backhouse, “Interfacing high-level and assembly language with microcodes in 3-D image generation”, Journal of Microprocessors and Microsystems, vol. 18, no.4, May 1994.

3. A.A. Wardak, “Real-Time 3-D Image Generation with TMS320C30 EVM”, Journal of Microcomputer Applications, vol. 18, pp. 355-373, 1995, Academic Press Limited.

4. TMS320C6000 Optimizing C Compiler User’s Guide, SPRU187K, Texas Instruments, Dallas, TX, 2002. Section 8, p. 4.

5. Kyle A., Ashan K., “Data Movement Between Big-Endian and Little-Endian Devices”. Freescale Semiconductor, Inc. Freescale Semiconductor, Inc. San Jose, CA Austin, TX, 2008

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3