软硬件系统编程PPT (22).pdf
《软硬件系统编程PPT (22).pdf》由会员分享,可在线阅读,更多相关《软硬件系统编程PPT (22).pdf(15页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、存储器管理存储器管理 Storage Management Programs written by users and the data are stored in the form of files in external storage.It must be imported into memory before executing.Importing the program from the hard disk to the internal storage involves the following steps:compilation link object object progr
2、amprogram executable executable programprogram source source programprogram Note the reason Written in programing languages Written in machine languages of 0 and 1 Processing of user programs Memory Loading Link Object program of machine language Library Library functionfunction Compile 3 The compil
3、ed object program modules are connected and assembled together,and then connected with the function library to form a whole.By operating system Questions Where in memory should the program and data be stored?What if the program is too big to be stored in memory?Will the address of a program remain t
4、he same after being imported into memory several times?Will different programs disturb each other as they are all imported into memory?5 Import programs from the online external storage(hard disk)into memory Address conversion.Convert the address of the program into that of memory.Storage allocation
5、.Allocate memory space to programs Uniformly manage the hard disk and memory to form the storage system and expand storage capacity Expand storage capacity::to ensure that big programs can execute in small storage Storage protection Protect programs and data zone from being damaged Main functions of
6、 storage management Program is a sequence of instructions.The location of each instruction in program is described as address.6 Storage allocation and address conversion 12345H 11H mov ax,59e8h mov cx,5 L1:inc bx add al,bx loop L1 Memory is organized in units.Each unit has the only address in memory
7、.Symbolic addressSymbolic address Physical addressPhysical address Address conversion is the process to match the symbolic address with the physical address in memory.7 Since compiler doesnt know the address of the object program in memory,the logical address of all object programs starts with 0.8 m
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 软硬件系统编程PPT 22 软硬件 系统 编程 PPT 22
限制150内