COEN 311 Computer Organization & Software Chapter 1 Introduction and Terminology (Prof. Sofiène Tahar) Concordia University Electrical & Computer Engineering

Embed Size (px)

DESCRIPTION

Software Layer – Operating System View P. E. Livadas, C. Ward, Computer Organization and the MC6800, Chapter 1.

Citation preview

COEN 311 Computer Organization & Software Chapter 1 Introduction and Terminology (Prof. Sofine Tahar) Concordia University Electrical & Computer Engineering Conceptual View of a Computer System P. E. Livadas, C. Ward, Computer Organization and the MC6800, Chapter 1. Software Layer Operating System View P. E. Livadas, C. Ward, Computer Organization and the MC6800, Chapter 1. Inner Layers of Hardware Physical View P. E. Livadas, C. Ward, Computer Organization and the MC6800, Chapter 1. Hardware Components of a Computer System P. E. Livadas, C. Ward, Computer Organization and the MC6800, Chapter 1. Opening the Box Inside the Processor AMD Barcelona: 4 processor cores Memory Volatile main memory Loses instructions and data when power off Non-volatile secondary memory Magnetic disk Flash memory Optical disk (CDROM, DVD) Networks Communication and resource sharing Local area network (LAN): Ethernet Within a building Wide area network (WAN): the Internet Wireless network: WiFi, Bluetooth Organization of Single Bus System P. E. Livadas, C. Ward, Computer Organization and the MC6800, Chapter 1. Time Sharing Process Time Printer Disk OS Routines Program User program and OS routine sharing of the processor t5t5 t4t4 t3t3 t2t2 t1t1 t0t0 Compilation flow Software Hardware Word processor; Video game Processor: Pentium,AMD,Power PC Memory IO devices Software Hardware OS Word processor; Video game Processor: Pentium,AMD,Power PC Memory IO devices Windows 2000 Unix Software High Level Language Hardware OS Word processor; Video game Processor: Pentium,AMD,Power PC Memory IO devices Windows 2000 Unix, Linux C++ Java Software High Level Language Machine Code Hardware OS Compiler Word processor; Video game C- compiler (high level language & processor dependent) Binary (processor dependent) Pentium, Power PC, MC68000 Processor: Pentium,AMD,Power PC Memory IO devices Windows 2000 Unix C++ Java compiler Software High Level Language Assembly Language Machine Code Hardware OS Compiler Word processor; Video game C- compiler (high level language & processor dependent) Instructions (processor dependent) Pentium, Power PC, MC68000 Binary (processor dependent) Pentium, Power PC, MC68000 Processor: Pentium,AMD,Power PC Memory IO devices Windows 2000 Unix, Linux C++ Java ADD R1, R compiler Software High Level Language Assembly Language Machine Code Hardware OS Compiler Assembler Word processor; Video game C- compiler (high level language & processor dependent) Instructions (processor dependent) Pentium, Power PC, MC68000 Binary (processor dependent) Pentium, Power PC, MC68000 Processor: Pentium,AMD,Power PC Memory IO devices Windows 2000 Unix, Linux C++ Java (processor dependent) compiler ADD R1, R Software High Level Language Assembly Language Machine Code Hardware OS Compiler Assembler Loader Word processor; Video game C- compiler (high level language & processor dependent) Binary (processor dependent) Pentium, Power PC,MC68000 Processor: Pentium,AMD,Power PC Memory IO devices Windows 2000 Unix, Linux C++ Java (processor dependent) compiler ADD R1, R Instructions (processor dependent) Pentium, Power PC, MC68000 SW Application =? 5 Compilation Flow: Example SW Application High Level SW Program =? 5 begin var int a, b, c; a := 3; b := 2; c := a+b; end Compilation Flow: Example Computer HW: Allocate variables to registers a R1 b R2 c R3 + CPU Memory Registers (R1,R2,) Computer HW: Assembly Program: Allocate variables to registers a R1 b R2 c R3 LOAD R1, 3; R1