Introduction to RISC Assembly Language Programming

4.33 avg rating
( 3 ratings by GoodReads )
 
9780201398281: Introduction to RISC Assembly Language Programming

This is a straightforward text on RISC assembly language programming for MIPS computers - the microprocessor gaining popularity due to its compact and elegant instruction set. Enabling students to understand the internal working of a computer, courses in RISC are an increasingly popular option in assembly language programming.







"synopsis" may belong to another edition of this title.

From the Inside Flap:

This book is based on a one semester introductory computer architecture course for first year computing students in the School of Computer Applications, Dublin City University using SPIM, a virtual machine that runs programs for the MIPS R2000/R3000 computers. The architecture of the MIPS is an ideal example of a simple, clean RISC (Reduced Instruction Set Computer) machine, which makes it easy to learn and understand. The processor contains thirty two general-purpose registers and a well-designed instruction set. The existence of a simulator for the processor greatly simplifies the development and debugging of assembly language programs. For these reasons, MIPS is the preferred choice for teaching computer architecture in the 2000s, just as the Motorola 68000 was during the 1980s.

The material assumes the reader has never studied computer programming before, and is usually given at the same time as a programming course in a high level language like Java or C. The main data structures covered are strings, arrays and stacks. The ideas of program loops, if statements, procedure calls and some recursion are presented. The philosophy behind the book is to speed up the learning process relative to other MIPS architecture books by enabling the reader to start writing simple assembly language programs early, without getting involved in laborious descriptions of the trade-offs involved in the design of the processor. The most successful approach to computer architecture is to begin by writing numerous small assembly language programs, before going on to study the underlying concepts. Thus this text does not address topics such as logic design or boolean algebra, but does contain example programs using the MIPS logical instructions. While processors like the MIPS were designed for high level language compilation and as such are targeted at compilers rather than human programmers, the only way to gain an appreciation of their functionality is write many programs for the processor in assembly language.

The book is associated with automatic program testing system MIPSMARK which allows a lecturer to set assembly language programming questions and collect and mark the assignments automatically, or a reader to test a MIPS assembly language program against several different cases and determine if it works, as described in Appendix A. The exam system is written as a collection on Unix C shell scripts. If the instructor or student does not wish to adopt this learning approach, the text book can be used in a traditional manner. A student who can write an assembly language program which converts a number to an ASCII string in hexadecimal format under exam conditions has demonstrated a thorough understanding of all the principles of introductory computer architecture. There is little point in describing concepts such as pipelining, delayed branches of advanced compiler topics to students who are not yet familiar with simple program loops.

Assembly language programming is usually considered an arcane and complex discipline. This view arises among those whose first experience of assembly language programming was the instructions and registers of architectures like the Intel 8086 family. Programming in a RISC architecture is very different due to the elegant, compact and simple instruction set. Students of this text who have never programmed before and begin to study it simultaneously with a course on C programming report it is easier and more logical to program in assembly! In addition, because of the programming exam system, there is a higher pass rate and level of proficiency achieved by students on the assembly course than on the more traditional C course.

The SPIM simulator is available in the public domain. Overhead projector slides of lecture notes, all example programs and all exam questions are available from Introduction to RISC Assembly Language Programming. The programs that correct the questions, together with test cases and solutions are available to lecturers adopting the course.

The SPIM simulator software was designed and written by James R. Laurus laurus@cs.wisc. This book was partly inspired by John Conry's course at the University of Oregon which he has made available on the Internet. I would like to thank him for permission to use some of his material. Thanks to Dr. David Sinclair for reading an early draft and providing many important suggestions. Also thanks to Karen Sutherland and Keith Mansfield at Addison Wesley Longman.

0201398281P04062001

From the Back Cover:

As the best way to gain an understanding of how a computer processor works at the lower levels, assembly language programming is essential background for every computer science and electronic engineering student. It is, however, often considered an arcane and complex discipline, because many first encounter it through the daunting instructions and registers of the Intel 8086 family.

Programming in a simple RISC architecture is very different due to the elegant and compact instruction set. Students of this text who have never programmed before and who study it simultaneously with a course on a higher-level language report that it is easier and more logical to program in assembly!

Introduction to RISC Assembly Language Programming:
  • is based around the MIPS RISC processor, a simple, clean RISC processor whose architecture and assembly language is easy to learn and understand
  • speeds up the learning process by enabling the reader to start writing simple assembly language programs early, while assuming no prior knowledge of computer programming
  • links with an automatic program testing system, allowing a lecturer to set programming questions and mark the assignments automatically, or a reader to test a MIPS assembly language program against numerous test inputs
  • uses the SPIM simulator, a freely available virtual machine that allows users to write and simulate running MIPS R2000/R3000 assembly language programs on PC, Macintosh or UNIX platforms. with excellent source-level debugging tools
  • contains a large number of example programs and programming questions
  • is supported by related software freely available via the Web http://www.compapp.dcu.ie/~jwaldron


      0201398281B04062001

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

1.

Waldron, John
Published by Addison-Wesley (1998)
ISBN 10: 0201398281 ISBN 13: 9780201398281
New Paperback Quantity Available: 2
Seller
Murray Media
(North Miami Beach, FL, U.S.A.)
Rating
[?]

Book Description Addison-Wesley, 1998. Paperback. Book Condition: New. Bookseller Inventory # P110201398281

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 51.91
Convert Currency

Add to Basket

Shipping: US$ 2.99
Within U.S.A.
Destination, Rates & Speeds

2.

Waldron, John
Published by Addison-Wesley
ISBN 10: 0201398281 ISBN 13: 9780201398281
New PAPERBACK Quantity Available: 1
Seller
Cloud 9 Books
(West Palm Beach, FL, U.S.A.)
Rating
[?]

Book Description Addison-Wesley. PAPERBACK. Book Condition: New. 0201398281 New Condition. Bookseller Inventory # NEW6.0088647

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 49.99
Convert Currency

Add to Basket

Shipping: US$ 4.99
Within U.S.A.
Destination, Rates & Speeds

3.

Waldron, John
Published by Addison-Wesley (1998)
ISBN 10: 0201398281 ISBN 13: 9780201398281
New Paperback Quantity Available: 1
Seller
Revaluation Books
(Exeter, United Kingdom)
Rating
[?]

Book Description Addison-Wesley, 1998. Paperback. Book Condition: Brand New. 180 pages. 9.25x6.25x0.50 inches. In Stock. Bookseller Inventory # zk0201398281

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 66.54
Convert Currency

Add to Basket

Shipping: US$ 7.69
From United Kingdom to U.S.A.
Destination, Rates & Speeds

4.

John Waldron
Published by Addison-Wesley (1998)
ISBN 10: 0201398281 ISBN 13: 9780201398281
New Paperback Quantity Available: 1
Seller
Irish Booksellers
(Rumford, ME, U.S.A.)
Rating
[?]

Book Description Addison-Wesley, 1998. Paperback. Book Condition: New. book. Bookseller Inventory # 201398281

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 74.97
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

5.

John Waldron
Published by Addison-Wesley (1998)
ISBN 10: 0201398281 ISBN 13: 9780201398281
New Paperback Quantity Available: 1
Seller
Ergodebooks
(RICHMOND, TX, U.S.A.)
Rating
[?]

Book Description Addison-Wesley, 1998. Paperback. Book Condition: New. 1. Bookseller Inventory # DADAX0201398281

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 97.59
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

6.

John Waldron
ISBN 10: 0201398281 ISBN 13: 9780201398281
New Quantity Available: 1
Seller
Castle Rock
(Pittsford, NY, U.S.A.)
Rating
[?]

Book Description Book Condition: Brand New. Book Condition: Brand New. Bookseller Inventory # 97802013982811.0

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 113.67
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds