Anne Bracy CS 3410 Computer Science Cornell University
P&H Chapter 4.9, pages 445–452, appendix A.7 The slides were originally created by Deniz ALTINBUKEN.
Anne Bracy CS 3410 Computer Science Cornell University The slides - - PowerPoint PPT Presentation
Anne Bracy CS 3410 Computer Science Cornell University The slides were originally created by Deniz ALTINBUKEN. P&H Chapter 4.9, pages 445452, appendix A.7 To what extent does the clicker grade component affect your class attendance?
P&H Chapter 4.9, pages 445–452, appendix A.7 The slides were originally created by Deniz ALTINBUKEN.
2
3
4
5
6
7
8
9
10
11
12
13
14
gets getc
15
16
0xfffffffc 0x00000000 0x7ffffffc 0x80000000 0x10000000 0x00400000
stack system reserved code (text) static data dynamic data (heap) OS Heap OS Data OS Stack OS Text
17
OS Text OS Data OS Heap OS Stack
0xfffffffc 0x00000000 0x7ffffffc 0x80000000 0x10000000 0x00400000
OS Heap OS Data OS Stack OS Text 0x00...00
18
gets getc
implementation
getc() syscall
19
21
22
23
24
25
26
27
Example: alert from network device that a packet just arrived, clock notifying CPU of clock tick
Example: alert from the power supply that electricity is about to go out
28
SYSCALL
29
30
32
33
CPU RAM DISK CPU RAM DISK