Guide to RISC Processors (eBook)

for Programmers and Engineers
eBook Download: PDF
2005 | 2005
XVI, 388 Seiten
Springer New York (Verlag)
978-0-387-27446-1 (ISBN)

Lese- und Medienproben

Guide to RISC Processors - Sivarama P. Dandamudi
Systemvoraussetzungen
53,49 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Details RISC design principles as well as explains the differences between this and other designs.
Helps readers acquire hands-on assembly language programming experience
Recently, there's been a trend toward processors based on the RISC (Reduced Instruction Set Computer) design: Some example RISC processors are the MIPS, SPARC, PowerPC, ARM, and even Intel's 64-bit processor Itanium.This guidebook provides an accessible and all-encompassing compendium on RISC processors, introducing five RISC processors: MIPS, SPARC, PowerPC, ARM and Itanium.  Initial chapters explain the differences between the CISC and RISC designs, and one clearly discusses the RISC design principles.  Roughly the second half of the book is dedicated to MIPS assembly language programming, thereby enabling readers to grasp the concepts discussed in the first half.Topics and features:*Includes MIPS simulator (SPIM) download instructions, so that readers can get hands-on assembly language programming experience*Presents material in a manner suitable for self-study, using several examples in each chapter Assembly language programs permit reader executables using the SPIM simulator Integrates core concepts to processor designs and their implementations Supplies extensive programming examples and figures Each chapter begins with an overview and ends with a summary Guide to RISC Processors provides a uniquely comprehensive introduction and guide to RISC-related concepts, principles, design philosophy, and actual programming, as well as the all the popular modern RISC processors and their assembly language.  Professionals and programmers seeking an authoritative and practical overview of RISC processors will find the guide an essential resource, and students in computer architecture and other courses will regard it as an important reference tool.

Contents 9
Preface 6
PART I Overview 14
1 Introduction 15
Processor Architecture 15
RISC Versus CISC 17
What Is Assembly Language? 19
Advantages of High-Level Languages 21
Why Program in Assembly Language? 22
Summary 23
2 Processor Design Issues 24
Introduction 24
Number of Addresses 25
The Load/Store Architecture 31
Processor Registers 33
Flow of Control 33
Procedure Calls 37
Handling Branches 39
Instruction Set Design Issues 43
Summary 47
3 RISC Principles 49
Introduction 49
Evolution of CISC Processors 50
Why RISC? 51
RISC Design Principles 53
Summary 54
PART II Architectures 55
4 MIPS Architecture 56
Introduction 56
Registers 57
Register Usage Convention 57
Addressing Modes 59
Instruction Format 60
Memory Usage 61
Summary 62
5 SPARC Architecture 64
Introduction 64
Registers 65
Addressing Modes 67
Instruction Format 68
Instruction Set 68
Procedures and Parameter Passing 78
Summary 85
6 PowerPC Architecture 87
Introduction 87
Register Set 89
Addressing Modes 91
Instruction Format 92
Instruction Set 94
Summary 104
7 Itanium Architecture 105
Introduction 105
Registers 106
Addressing Modes 108
Procedure Calls 109
Instruction Format 110
Instruction-Level Parallelism 113
Instruction Set 114
Handling Branches 120
Speculative Execution 122
Branch Prediction Hints 127
Summary 127
8 ARM Architecture 129
Introduction 129
Registers 131
Addressing Modes 133
Instruction Format 136
Instruction Set 139
Summary 153
PART III MIPS Assembly Language 154
9 SPIM Simulator and Debugger 155
Introduction 155
Simulator Settings 158
Running a Program 159
Debugging 160
Summary 163
10 Assembly Language Overview 164
Introduction 164
Assembly Language Statements 165
SPIM System Calls 166
SPIM Assembler Directives 167
MIPS Program Template 170
Data Movement Instructions 170
Load Instructions 171
Store Instructions 172
Addressing Modes 172
Sample Instructions 173
Our First Program 177
Illustrative Examples 179
Summary 187
11 Procedures and the Stack 188
Introduction 188
Procedure Invocation 191
Returning from a Procedure 193
Parameter Passing 194
Our First Program 194
Stack Implementation in MIPS 197
Parameter Passing via the Stack 201
Illustrative Examples 205
Passing Variable Number of Parameters 212
Summary 215
12 Addressing Modes 216
Introduction 216
Addressing Modes 217
Processing Arrays 219
Our First Program 222
Illustrative Examples 224
Summary 229
13 Arithmetic Instructions 230
Introduction 230
Addition 231
Subtraction 231
Multiplication 233
Division 234
Our First Program 235
Illustrative Examples 237
Summary 247
14 Conditional Execution 248
Introduction 248
Comparison Instructions 249
Unconditional Branch Instructions 251
Conditional Branch Instructions 253
Our First Program 254
Illustrative Examples 257
Indirect Jumps 264
Indirect Procedures 267
Summary 272
15 Logical and Shift Operations 273
Introduction 273
Logical Instructions 274
Shift Instructions 280
Rotate Instructions 284
Our First Program 285
Illustrative Examples 288
Summary 294
16 Recursion 295
Introduction 295
Our First Program 296
Illustrative Examples 299
Recursion Versus Iteration 307
Summary 308
17 Floating-Point Operations 309
Introduction 309
FPU Registers 310
Floating-Point Instructions 311
Our First Program 316
Illustrative Examples 318
Summary 326
Appendices 327
A Number Systems 328
Positional Number Systems 328
Conversion to Decimal 330
Conversion from Decimal 331
Binary/Octal/Hexadecimal Conversion 332
Unsigned Integers 333
Signed Integers 334
Floating-Point Representation 337
Summary 339
B Character Representation 341
Character Representation 341
ASCII Character Set 342
C MIPS Instruction Set Summary 345
D Programming Exercises 367
Bibliography 376
Index 379

Erscheint lt. Verlag 6.12.2005
Zusatzinfo XVI, 388 p. 80 illus.
Verlagsort New York
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Theorie / Studium
Schlagworte Architecture • Assembly language • CISC • Computer • Computer Architecture • Design • Download • language • MIPS • Processor • Processor architecture • programming • Reduced Instruction Set Computer
ISBN-10 0-387-27446-4 / 0387274464
ISBN-13 978-0-387-27446-1 / 9780387274461
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 1,6 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das Handbuch für Webentwickler

von Philip Ackermann

eBook Download (2023)
Rheinwerk Computing (Verlag)
49,90
Das umfassende Handbuch

von Johannes Ernesti; Peter Kaiser

eBook Download (2023)
Rheinwerk Computing (Verlag)
44,90
Mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

eBook Download (2023)
Carl Hanser Verlag GmbH & Co. KG
29,99