- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
2014-2018年远红外电加热板市场
Scope, Function Calls and Storage Management John Mitchell Announcements Homework Returned in class Monday; afterwards in 4th Floor Gates Cabinet SCPD students: attach routing slip, will be returned by courier Late policy - Three late days, but only one at a time You may turn in by 5PM Thursday three times in the quarter Lecture and discussion schedule Regular schedule this week and next Monday Wed 10/25: Review Section 1:15-2:30 Gates B01 Fri 10/27: no section Midterm exam Wed 10/25, 7-9PM, Gates B01 See web site for calendar Topics Block-structured languages and stack storage In-line Blocks activation records storage for local, global variables First-order functions parameter passing tail recursion and iteration Higher-order functions deviations from stack discipline language expressiveness = implementation complexity Block-Structured Languages Nested blocks, local variables Example { int x = 2; { int y = 3; x = y+2; } } Storage management Enter block: allocate space for variables Exits block: some or all space may be deallocated Examples Blocks in common languages C { … } Algol begin … end ML let … in … end Two forms of blocks In-line blocks Blocks associated with functions or procedures Topic: block-based memory management, access to local variables, parameters,global vars Simplified Machine Model Interested in Memory Mgmt Only Registers, Code segment, Program counter Ignore registers Details of instruction set will not matter Data Segment Stack contains data related to block entry/exit Heap contains data of varying lifetime Environment pointer points to current stack position Block entry: add new activation record to stack Block exit: remove most recent activation record Some basic concepts Scope Region of program text where declaration is visible Lifetime Period of time when location is allocated to program In-line Blocks Activation record Data structure stored on run-time sta
您可能关注的文档
- 2013基础医学四大综述.ppt
- 2013届中考物理苏科版复习指导课件:附录.ppt
- 2013届新课标高考生物一轮复习课件:遗传与进化第三单元 遗传的分子基础第2讲DNA分子的结构、复制 基因是有遗传效应的DNA片段( 2013高考).ppt
- 2013年10月单证mba逻辑真题.ppt
- 2013年—重症脑损伤患者镇痛镇静治疗_图文.ppt
- 2013年中考数学点睛专题(考点知识梳理+典例精析+巩固训练+考点训练)实数的运算及大小比较(33张PPT).ppt
- 2013年中考数学点睛专题(考点知识梳理+典例精析+巩固训练+考点训练)复习:第5讲二次根式(38张PPT).ppt
- 2013年中考数学点睛专题(考点知识梳理+典例精析+巩固训练+考点训练)复习:第11讲函数及其图象(54张PPT).ppt
- 2013年中考数学点睛专题(考点知识梳理+典例精析+巩固训练+考点训练)复习:第8讲分式方程(40张PPT).ppt
- 2013国家执业兽医资格考试辅导_PPT课件.ppt
- 2014 2第1 2章细菌形态结构生理PPT课件.pptx
- 2014-2015高中数学人教b版必修3配套课件:32第2课时古典概型二习题课.ppt
- 2014-2015高中数学人教b版必修3配套课件:222第2课时用样本的数字特征估计总体的数字特征二习题课.ppt
- 2013钢丝绳生产许可证实施细则省局宣贯.ppt
- 2014 Legislative Update - Florida Department of Education:2014立法更新-佛罗里达州教育厅.ppt
- 2014.03.24康复讲课[精华].ppt
- 2014.7.3世多乐半年技术交流大会-LIN-纽萃+哈维+脉素特.ppt
- 2014-4科内讲课PPT课件.ppt
- 2014【浙江省科学中考】【第一轮复习】第1讲观察多种多样的生物(课件).ppt
- 201401现代基础医学概论(第一章 人体的基本结构).ppt
原创力文档


文档评论(0)