- 3
- 0
- 约4.3万字
- 约 17页
- 2020-10-30 发布于广东
- 举报
TM
Technical Note TN 262
Using the MemoryBanker in S12(X) projects
The CodeWarrior™ HC12 compiler and linker support automatic bank distribution (also called
MemoryBanker in this document) for code, data and constant sections. When this optimization is
activated, the linker tries to distribute the objects (function, variables, constants) across the different
memory areas in the most optimal way. For functions, the linker analyzes the application call tree to
determine optimal distribution across the different banks.
For example, suppose this is your application call tree:
Bank_F0: 0xF08000.. 0xF0BFFF Bank_F1: 0xF18000.. 0xF1BFFF Bank_F2: 0xF28000.. 0xF2BFFF
F1 F2 F6 F7
F4 F9
F8
F3 F5
Fa
All functions are called using FAR calling convention (instruction CALL).
After analyzing the application call tree, the linker distributes the function, as shown in the next
diagram, between the different banks because it is more efficient.
Bank_F0: 0xF08000.. 0xF0BFFF Bank_F1: 0xF18000.. 0xF1BFFF Bank_F2: 0xF28000.. 0xF2BFFF
F1 F2 F6 F7 F8 F9
F4
F3
F5
Fa
All functions in red can be called usi
您可能关注的文档
- BD220006_CP400s Connect one CPU Or CPUs Connect one CP400_CP400多个屏或多个控制器的连接.pdf
- BD220008_CP400 Control & Status Word_CP400控制字和状态字.pdf
- BD220010_CP400 Alarm & History Curves_CP400历史显示和警报显示.pdf
- bPlus条码秤操作培训.pdf
- CD220003_CP600 Communicate with AC500 & eCo PLC via Modbus RTU_CP600触摸屏和AC500以及eCo PLC Modbus RTU通讯.pdf
- CD220005_CP600 Ports Connection_CP600使用不同端口时的接线示意图.pdf
- CD220010_CP600 Runtime update_CP600运行环境更新.pdf
- CD220012_CP600 Alarm & History Curves_CP600历史曲线和报警条.pdf
- CMTest软件操作文档V2.pdf
- CoDeSys编程简介_53页_0.5M_高清版.pdf
- 2025~2026学年福建省厦门市海沧中学高三上学期12月阶段性练习政治试卷.doc
- 2025~2026学年福建省泉州市南安市龙泉中学高三上学期期中考试政治试卷.doc
- 2025~2026学年贵州省贵阳市观山湖区第一高级中学高二上学期12月月考政治试卷.doc
- 2025~2026学年甘肃省天水市第三中学高一上学期期末考前模拟政治试卷.doc
- 2025~2026学年福建恒一教育集团高三上学期第二次质量检测政治试卷.doc
- 2025年园长个人述职报告(2篇).docx
- 街道依法行政工作规划(2篇).docx
- 全县卫生工作要点范文(2篇).docx
- 县工商局年计划生育工作汇报(2篇).docx
- 人事劳动和社会保障局五五普法工作规划(2篇).docx
最近下载
- 监理服务质量的检查与考核办法.doc VIP
- 监理服务质量的检查与考核办法.docx VIP
- 2025年中好建造(安徽)科技有限公司第一次社会招聘21人笔试备考试题及答案解析.docx VIP
- 世界杯主题营销IP《2026心跳三部曲》.pptx VIP
- 消防员战斗精神课件.pptx VIP
- 项目工程监理工作保证措施.docx VIP
- (最新)ISO 56006-2021创新管理-战略情报管理的工具和方法-指南(译-2024)(推荐下载).pdf VIP
- GD019-2024电气电子产品型式认可试验指南.pdf VIP
- (高清版)ZT 0130-2006 地质矿产实验室测试质量管理规范.pdf VIP
- 计算机网络课件-计算机网络基础.pptx VIP
原创力文档

文档评论(0)