编辑: 施信荣 2019-07-12
TM57编译程序 使用手册 Rev V1.

1 tenx reserves the right to change or discontinue the manual and online documentation to this product herein to improve reliability, function or design without further notice. tenx does not assume any liability arising out of the application or use of any product or circuit described herein;

neither does it convey any license under its patent rights nor the rights of others. tenx products are not designed, intended, or authorized for use in life support appliances, devices, or systems. If Buyer purchases or uses tenx products for any such unintended or unauthorized application, Buyer shall indemnify and hold tenx and its officers, employees, subsidiaries, affiliates and distributors harmless against all claims, cost, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that tenx was negligent regarding the design or manufacture of the part. TM57 C 编译程序 使用手册 UM-TM57XX_C_Compiler_S

2 Rev 1.1, 2013/12/09 修改记录 版本 日期 描述 V1.0 Jan,

2013 新颁 V1.1 Oct,

2013 1. 全局常数及函式可自定义在 TABLE ROM 的起始地址 2. 使用 pragma 指令来指定全局常数的地址 3. 在函数定义区段指定函式地址 4. 在内汇编使用假指令 .fixcode 冻结插入跨 bank 指令 5. 在指示表格中加入#pragma 6. 新增 Pragma 指令 (#pragma) 7. C 与汇编混合编程中应避免使用 .org xx 指令 8. 新增在IDE中新增一库函数项目的方法 TM57 C 编译程序 使用手册 UM-TM57XX_C_Compiler_S

3 Rev 1.1, 2013/12/09 CONTENTS 修改记录.2 1. TM57 系列 C 语言编译程序概述.7 TM57 系列 C 语言编译程序的特殊功能.7 编译 C 语言程序.8 词汇约定.10 原始程序字符集.10 注释.11 识别符号.11 关键字.12 常量.12 数字常量.13 字符常量.13 枚举常量.13 全局常量.14 字符串常量.15 运算符号.15 标点符号.15 2. 标识符的意义.16 消除歧异的名称.16 作用域(Scope)16 块作用域(Block Scope)16 函数作用域(Function Scope)16 函数原型作用域.17 文档作用域(全局作用域)17 标识符的 命名空间.17 标识符的链结.18 储存期(Storage Duration)18 3. 定义(Declaration)19 TM57 C 编译程序 使用手册 UM-TM57XX_C_Compiler_S

4 Rev 1.1, 2013/12/09 储存类别说明符.19 类型说明符(Type Specifiers)21 Fplane / Rplane 定义.21 结构和联合定义.24 结构、联合中定义和使用位字段.25 位数据类型.26 位运算符.28 枚举定义.29 类型限定符(Type Qualifiers)29 定义(Declarators)30 指针定义(Pointer Declarators)31 数组定义(Array Declarators)31 函数定义和原型.33 Asm 定义

34 定义的限制.37 类型定义(typedef)38 初始化(Initialization)39 聚集的初始化(Initialization of Aggregates)39 4. 表达式和运算符号(Expressions and Operators)40 在C语言的运算符的优先与结合性的规则.40 基本表达式(Primary Expressions)41 后置式(Postfix Expressions)41 数组索引符号运算符(Array Subscripting Operator)41 结构和联合的引用(Structure and Union References)42 间接结构和联合引用(Indirect Structure and Union References)42 后置++和后置--(Postfix ++ and Postfix

42 单目运算符(Unary Operators)43 地址或间接引用运算符(Address-of and Indirection Operators)43 单目运算符+和-(Unary + and Unary C Operators)43 逻辑否!和位取反 ~ 运算符.44 TM57 C 编译程序 使用手册 UM-TM57XX_C_Compiler_S

下载(注:源文件不在本站服务器,都将跳转到源网站下载)
备用下载
发帖评论
发布一个新话题