Bài giảng Computer architecture: Part II
Số trang: 76
Loại file: ppt
Dung lượng: 2.49 MB
Lượt xem: 22
Lượt tải: 0
Xem trước 8 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Bài giảng Computer architecture: Part II - Instruction - Set Architecture hướng đến giới thiệu tới các bạn Instructions and Addressing; procedures and data; assembly language programs;... Hy vọng tài liệu là nguồn thông tin hữu ích cho quá trình học tập và nghiên cứu của các bạn.
Nội dung trích xuất từ tài liệu:
Bài giảng Computer architecture: Part II Part II Instruction-Set Architecture Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 1 About This Presentation This presentation is intended to support the use of the textbook Computer Architecture: From Microprocessors to Supercomputers, Oxford University Press, 2005, ISBN 0-19-515455-X. It is updated regularly by the author as part of his teaching of the upper- division course ECE 154, Introduction to Computer Architecture, at the University of California, Santa Barbara. Instructors can use these slides freely in classroom teaching and for other educational purposes. Any other use is strictly prohibited. © Behrooz Parhami Edition Released Revised Revised Revised Revised First June 2003 July 2004 June 2005 Mar. 2006 Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 2 A Few Words About Where We Are Headed Performance = 1 / Execution time simplified to 1 / CPU execution time CPU execution time = Instructions CPI / (Clock rate) Performance = Clock rate / ( Instructions CPI ) Try to achieve CPI = 1 Design hardware with clock that is as for CPI = 1; seek high as that for CPI > 1 Define an instruction set; improvements with designs; is CPI < 1 make it simple enough CPI > 1 (Chap 13-14) feasible? (Chap 15-16) to require a small number of cycles and allow high clock rate, but not so Design memory & I/O simple that we need many Design ALU for structures to support instructions, even for very arithmetic & logic ultrahigh-speed CPUs simple tasks (Chap 5-8) ops (Chap 9-12) Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 3 II Instruction Set Architecture Introduce machine “words” and its “vocabulary,” learning: • A simple, yet realistic and useful instruction set • Machine language programs; how they are executed • RISC vs CISC instruction-set design philosophy Topics in This Part Chapter 5 Instructions and Addressing Chapter 6 Procedures and Data Chapter 7 Assembly Language Programs Chapter 8 Instruction Set Variations Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 4 5 Instructions and Addressing First of two chapters on the instruction set of MiniMIPS: • Required for hardware concepts in later chapters • Not aiming for proficiency in assembler programming Topics in This Chapter 5.1 Abstract View of Hardware 5.2 Instruction Formats 5.3 Simple Arithmetic / Logic Instructions 5.4 Load and Store Instructions 5.5 Jump and Branch Instructions 5.6 Addressing Modes Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 5 5.1 Abstract View of Hardware ... Loc 0 Loc 4 Loc 8 m 2 32 4 B / location Memory up to 2 30 words Loc Loc m 8 m 4 ... EIU $0 Execution FPU $0 Floating- (Main proc.) $1 & integer (Coproc. 1) $1 point unit $2 unit $2 $31 $31 Integer FP ALU mul/div arith Hi Lo TMU BadVaddr Trap & (Coproc. 0) Status memory Cause unit Chapter Chapter Chapter EPC 10 11 12 Figure 5.1 Memory and processing subsystems for MiniMIPS. Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 6 Data Types Byte =Byte 8 bits Halfword= 2 bytes Halfword Word =Word 4 bytes Doubleword = 8 bytes Doubleword MiniMIPS registers hold 32-bit (4-byte) words. Other common data sizes include byte, halfword, and doubleword. Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 7 $0 ...
Nội dung trích xuất từ tài liệu:
Bài giảng Computer architecture: Part II Part II Instruction-Set Architecture Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 1 About This Presentation This presentation is intended to support the use of the textbook Computer Architecture: From Microprocessors to Supercomputers, Oxford University Press, 2005, ISBN 0-19-515455-X. It is updated regularly by the author as part of his teaching of the upper- division course ECE 154, Introduction to Computer Architecture, at the University of California, Santa Barbara. Instructors can use these slides freely in classroom teaching and for other educational purposes. Any other use is strictly prohibited. © Behrooz Parhami Edition Released Revised Revised Revised Revised First June 2003 July 2004 June 2005 Mar. 2006 Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 2 A Few Words About Where We Are Headed Performance = 1 / Execution time simplified to 1 / CPU execution time CPU execution time = Instructions CPI / (Clock rate) Performance = Clock rate / ( Instructions CPI ) Try to achieve CPI = 1 Design hardware with clock that is as for CPI = 1; seek high as that for CPI > 1 Define an instruction set; improvements with designs; is CPI < 1 make it simple enough CPI > 1 (Chap 13-14) feasible? (Chap 15-16) to require a small number of cycles and allow high clock rate, but not so Design memory & I/O simple that we need many Design ALU for structures to support instructions, even for very arithmetic & logic ultrahigh-speed CPUs simple tasks (Chap 5-8) ops (Chap 9-12) Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 3 II Instruction Set Architecture Introduce machine “words” and its “vocabulary,” learning: • A simple, yet realistic and useful instruction set • Machine language programs; how they are executed • RISC vs CISC instruction-set design philosophy Topics in This Part Chapter 5 Instructions and Addressing Chapter 6 Procedures and Data Chapter 7 Assembly Language Programs Chapter 8 Instruction Set Variations Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 4 5 Instructions and Addressing First of two chapters on the instruction set of MiniMIPS: • Required for hardware concepts in later chapters • Not aiming for proficiency in assembler programming Topics in This Chapter 5.1 Abstract View of Hardware 5.2 Instruction Formats 5.3 Simple Arithmetic / Logic Instructions 5.4 Load and Store Instructions 5.5 Jump and Branch Instructions 5.6 Addressing Modes Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 5 5.1 Abstract View of Hardware ... Loc 0 Loc 4 Loc 8 m 2 32 4 B / location Memory up to 2 30 words Loc Loc m 8 m 4 ... EIU $0 Execution FPU $0 Floating- (Main proc.) $1 & integer (Coproc. 1) $1 point unit $2 unit $2 $31 $31 Integer FP ALU mul/div arith Hi Lo TMU BadVaddr Trap & (Coproc. 0) Status memory Cause unit Chapter Chapter Chapter EPC 10 11 12 Figure 5.1 Memory and processing subsystems for MiniMIPS. Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 6 Data Types Byte =Byte 8 bits Halfword= 2 bytes Halfword Word =Word 4 bytes Doubleword = 8 bytes Doubleword MiniMIPS registers hold 32-bit (4-byte) words. Other common data sizes include byte, halfword, and doubleword. Mar. 2006 Computer Architecture, Instruction-Set Architecture Slide 7 $0 ...
Tìm kiếm theo từ khóa liên quan:
Bài giảng Computer architecture Kiến trúc máy tính Công nghệ máy tính Kiến trúc tập Procedures and data Instructions and AddressingTài liệu liên quan:
-
67 trang 302 1 0
-
Giáo trình Kiến trúc máy tính và quản lý hệ thống máy tính: Phần 1 - Trường ĐH Thái Bình
119 trang 238 0 0 -
105 trang 207 0 0
-
84 trang 202 2 0
-
Giải thuật và cấu trúc dữ liệu
305 trang 163 0 0 -
Thuyết trình môn kiến trúc máy tính: CPU
20 trang 149 0 0 -
142 trang 147 0 0
-
Bài giảng Lắp ráp cài đặt máy tính 1: Bài 2 - Kiến trúc máy tính
56 trang 104 0 0 -
4 trang 99 0 0
-
Giáo trình kiến trúc máy tính - ĐH Cần Thơ
95 trang 87 1 0