ECE344H1 Lecture Notes - Lecture 5: Address Space, Synopsys, Virtual Memory

39 views5 pages

Document Summary

A program is a static file containing instructions and data. When a program is run, it has three execution states. We have seen this in the last lecture. Holds program instructions, static and dynamic data values. Os-level state (holds state of other hardware) Holds state such as open files, network connection state, etc: address space. An address space is the set of virtual memory regions accessible to a program. Text (or code) region - the program code (usually read only) Data, heap regions - static, dynamic variables. Stack region - used for function and system calls. | | v | address | | ^ | space | | | | Var: a c program variable is a symbolic name for data stored in memory. Int: type of variable determines size and alignment of memory. Index of memory array where data is stored. E. g. , if data is stored at memory[i], then address is i.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents