- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Final Exam keys期末考试的钥匙
Part 7: Embedded Software Draw variable lifetime graph for a short piece of code w = a + b; x = c + w; y = c + d; (assume x, y are the output variables for later use) time a b c d w x y 1 2 3 Part 7: Embedded Software Describe text, rodata, data, and bss section in object file, and for a given code piece, state which section each line belongs to after assembled. Object File Sections .text .rodata .data .bss Text section Read-only data section Read-write data section Uninitialized data section Sections Example int ram_data[10] = {0,1,2,3,4,5,6,7,8,9}; /* DATA */ const int rom_data[10] = {9,8,7,6,5,4,3,2,1}; /* RODATA */ int I; /* BSS */ main(){ ... I = I + 10; /* TEXT */ ... } Final Exam Thursday, April 29 (2:30 – 4:30 pm) location: 2A22 SWGN Points: 100 Close books, close notes, no electrical devices The .text section contains executable code. This section has the x (executable), r (read-only) and i (initialized) flags. The .rodata section contains read-only data of a size more than 8 bytes (default). The size of the data put into this section can be changed with an mb-gcc -G option. All data in this section is accessed using absolute addresses. The .sdata2 section contains small read-only data (size less than 8 bytes). The size of the data going into this section can be changed with an mb-gcc -G option. All data in this section is accessed with reference to the read-only small data anchor. This ensures that all data in the .sdata2 section can be accessed using a single instruction (a preceding imm instruction will never be necessary). This section has the r (read-only) and the i (initialized) flags. The .data section contains read-write data of a size more than 8 bytes (default). The size of the data going into this section can be changed with an mb-gcc -G option. All data in this section is accessed using absolute addresses. This section has the w (read-write) and the i (initialized) flags. The .sdata section contains small
您可能关注的文档
- Contextually-related Entities - Stanford University上下文相关的实体-斯坦福大学.ppt
- Contracts in the Electronic Communications Convention在电子通信公约合同.ppt
- Continuous Random Variables - D155:连续型随机变量D.ppt
- Contribution of Enrica Senini (Italy) - CCBE拱门的senini贡献(意大利)- CCBE.ppt
- Contribution of farm forestry to rural livelihoods农林业的农村生计的贡献.ppt
- Contraband Tobacco Ontario, Québec and Federal Enforcement 安大略区和#违禁香烟,233;BEC和联邦执法 (2).ppt
- CONTRIBUTION OF TOURISM STAKEHOLDERS TO 旅游利益相关者的贡献.ppt
- Contribution of Rome罗马的贡献.ppt
- COP5992 – DATA MINING TERM PROJECT RANDOM …:cop5992–数据挖掘项目随机….ppt
- Contribution sur l'interopérabilité贡献l'interop和#河畔233;rabilit和# 233;.ppt
- Final Exam Project - Home Department of Computer 期末考试项目-计算机家系.ppt
- Final Exam Review - BYU ACM - {{pageName}}期末考试复习-杨百翰大学ACM - { { } }而.ppt
- Final Exam Review - Theology Department期末考试复习-神学系.ppt
- Final Exam Review - University of Kentucky期末考试复习-肯塔基大学.ppt
- FINAL EXAM TAKE-HOME期末考试take-home.ppt
- Final Lecture - Publish Web Server最后的演讲-发布Web服务器.ppt
- Final Exam Review General A&P期末考试复习一般&;P.ppt
- Final Presentation - Southern Polytechnic State University 最后介绍-南方州立理工大学.ppt
- Final Exam Review期末考试复习.ppt
- Final Review - 1最终审查.ppt
最近下载
- 2025中考模拟 数学(浙江卷)(答题卡).docx VIP
- 6-2 好少年在行动(课件)-《新时代中国特色社会主义思想学生读本 (小学低年级)》.pptx VIP
- 工厂VDA6.3-2023审核员培训考核试卷含答案.doc
- (建筑施工企业) 固定资产、无形资产管理制度.docx VIP
- 第二单元任务2《制作广式月饼》(教案)-2024-2025学年湘教版劳动五年级上册.docx VIP
- 代金劵模板.doc VIP
- 海洋生物学课件:中尺度涡对南海初级生产过程的影响.ppt VIP
- AI时代高校人才培养的改革与创新实践.docx
- 第6讲 做新时代的好少年(第一课时)扣好人生第一粒扣子(课件)-《学生读本(小学低年级)》.ppt VIP
- 人教版数学六年级下册全册教学课件(2025年).pptx
文档评论(0)