- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
c语言教学11(C language teaching 11)
c语言教学11(C language teaching 11)
Six compilation mode overview
Turbo C provides six compilation mode. The compilation mode is sometimes called addressing mode or
The memory model, because it is processing is how to process data in memory, stack allocation
The space and access them, these six kinds of mode: Micro mode tiny, mode small small, compact
In mode compact, mode medium, mode large, mode huge giant. Between them
The relationship is shown in the table.
Of small procedures, procedures
- - thought - Thought
Small data, micro, small, medium
Big data, compact, large, giant
The so-called small program is only one program, certainly not more than 64K bytes, default
The code pointer is near (function). The so-called big program is a program segment, each segment is not
More than 64K bytes, but the total amount of more than 64K bytes of program code pointer, the default is far. place
It is only a small data data segment, the default data pointer is near. The so-called big data
Is there a plurality of data segments, the default data pointer is far. The following will be talked about them one by one
The difference between and by the same procedure in six different output modes, to a
To further deepen the understanding of these six kinds of modes. But to emphasize one point: regardless of what kind of compiler
The Turbo C model, a single source file is not possible to generate more than 64K bytes of code, can
Generate static more than 64K bytes (including global data). For example, the following program:
Int a[15000], b[20000];
Void (main) {}
In any mode are not compiled. This is because the total storage capacity required up to two arrays
70K bytes. The compiler will be at a Too much global data defined in file
The error message. In order to deal with more than 64K bytes of code or static data, must be divided into several
A source file. In this example, the file can be divided into A1.C and A2.C, respectively
The giant model of the two compiled source files, finally con
您可能关注的文档
- apmserv提示apache启动失败,请检查相关配置的解决方法(Apmserv prompts Apache failed to start. Please check the solution for the configuration).doc
- arm与嵌入式linux的入门建议 (六步曲)(Arm and embedded Linux entry advice (six steps song)).doc
- arm课程设计(Arm curriculum design).doc
- ar模型(Auto Regression Model).doc
- asa5520防火墙配置(Asa5520 firewall configuration).doc
- asa防火墙命令(ASA firewall command).doc
- atm自动取款机编程(ATM automatic teller machine programming).doc
- atm控制台实现(ATM console implementation).doc
- authorware(Authorware).doc
- auto cad(Auto CAD).doc
- c语言控制台五子棋(C language console 331).doc
- c语言教学必备(The essential of C language teaching).doc
- c语言教程 第一课(C language tutorial lesson).doc
- c语言教程(课件)1(C language tutorial (courseware) 1).doc
- c语言教程(课件)第1章(C language tutorial (courseware) chapter first).doc
- c语言想过不难啊~(C language is not difficult to think ah).doc
- c语言教程-c语言概论(C language tutorial introduction to -c language).doc
- c语言最重要的知识点复习资料!要学的都来看看。...(C language is the most important knowledge point review to learn to look at. ...).doc
- c语言教程—第1章_概述(C language tutorial, the first chapter _ overview).doc
- c语言数据结构相关知识(C language data structure knowledge).doc
最近下载
- 抗菌药物临床应用分级管理目录(2023年版).doc VIP
- 飞利浦(PHILIPS)BTD2339 93 入门指南.pdf
- 设备管理工作总结汇报课件.pptx VIP
- (2025秋新改)人教版三年级数学上册教学计划(及进度表).docx VIP
- 人教版八年级数学上册 第十三章 三角形 综合与实践 确定匀质薄板的重心位置.pptx VIP
- TCEEIA 593:2022 工业机器人耐久性测试方法.pdf VIP
- 小学音乐《演唱 中华人民共和国国歌》章莉PPT课件新优质课比赛公开课获奖348.pptx VIP
- 2024秋季九年级英语教学计划(4篇).doc VIP
- 墩柱施工操作平台相关计算.docx VIP
- 岛津lc2030c高效液相色谱仪操作指南.doc
文档评论(0)