Microprocessors
From Assembly Language to C Using the PICI8FXX2
Robert B. Reese(Author)
Charles River Media (Publisher)
Published on 4. August 2005
Book
Mixed media product
664 pages
978-1-58450-378-1 (ISBN)
Description
This book is designed for a first course in microprocessors or it may be used as a reference for practicing engineers. The book is unique in presenting a balanced, integrated topic coverage of assembly language programming, microcontroller programming via the C language, and hardware interfacing. Programming topics are discussed using both assembly language and C, while hardware interfacing examples use C to keep code complexity low and improve clarity. A goal of this book is to prepare students for advanced courses in embedded systems or computer architecture. As such, the topic coverage is wide, with a mixture of software and hardware topics. The assembly language programming topics emphasize the linkage between C language constructs and their assembly language equivalents, so that students clearly understand the impact of C coding choices in terms of execution time and memory requirements. Hardware interface topics included in the textbook cover the fundamentals (parallel, serial, interrupts, A/D, D/A) using devices that do not require an extensive circuits background.
Laboratory Projects These provide an extensive off-the-shelf lab experience (13 experiments) for using the PIC18: one experiment on introductory computer architecture topics, four experiments on PIC18 assembly language, and eight hardware experiments. The hardware experiments require the read to breadboard a PIC18F242 system that includes a serial EEPROM, external 8-bit Digital-to-Analog converter, and RS232 interface, and an infrared receiver module. The hardware labs cover all major subsystems on the PIC18: A/D, timers, asynchronous serial interface, and the 12C interface. All hardware labs are programmed in C, using the HI-TECH PICC18 compiler. A supplemental website (www.reesemicro.com) has book C code examples that have been modified to be compatible with both the Microchip MCC18 and HI-TECH PICC18 compilers, as well as lecture notes and sample quizzes.
This book is designed for a first course in microprocessors or it may be used as a reference for practicing engineers. The book is unique in presenting a balanced, integrated topic coverage of assembly language programming, microcontroller programming via the C language, and hardware interfacing. Programming topics are discussed using both assembly language and C, while hardware interfacing examples use C to keep code complexity low and improve clarity. A goal of this book is to prepare students for advanced courses in embedded systems or computer architecture. As such, the topic coverage is wide, with a mixture of software and hardware topics. The assembly language programming topics emphasize the linkage between C language constructs and their assembly language equivalents, so that students clearly understand the impact of C coding choices in terms of execution time and memory requirements. Hardware interface topics included in the textbook cover the fundamentals (parallel, serial, interrupts, A/D, D/A) using devices that do not require an extensive circuits background.
Laboratory Projects These provide an extensive off-the-shelf lab experience (13 experiments) for using the PIC18: one experiment on introductory computer architecture topics, four experiments on PIC18 assembly language, and eight hardware experiments. The hardware experiments require the read to breadboard a PIC18F242 system that includes a serial EEPROM, external 8-bit Digital-to-Analog converter, and RS232 interface, and an infrared receiver module. The hardware labs cover all major subsystems on the PIC18: A/D, timers, asynchronous serial interface, and the 12C interface. All hardware labs are programmed in C, using the HI-TECH PICC18 compiler. A supplemental website (www.reesemicro.com) has book C code examples that have been modified to be compatible with both the Microchip MCC18 and HI-TECH PICC18 compilers, as well as lecture notes and sample quizzes.
Laboratory Projects These provide an extensive off-the-shelf lab experience (13 experiments) for using the PIC18: one experiment on introductory computer architecture topics, four experiments on PIC18 assembly language, and eight hardware experiments. The hardware experiments require the read to breadboard a PIC18F242 system that includes a serial EEPROM, external 8-bit Digital-to-Analog converter, and RS232 interface, and an infrared receiver module. The hardware labs cover all major subsystems on the PIC18: A/D, timers, asynchronous serial interface, and the 12C interface. All hardware labs are programmed in C, using the HI-TECH PICC18 compiler. A supplemental website (www.reesemicro.com) has book C code examples that have been modified to be compatible with both the Microchip MCC18 and HI-TECH PICC18 compilers, as well as lecture notes and sample quizzes.
This book is designed for a first course in microprocessors or it may be used as a reference for practicing engineers. The book is unique in presenting a balanced, integrated topic coverage of assembly language programming, microcontroller programming via the C language, and hardware interfacing. Programming topics are discussed using both assembly language and C, while hardware interfacing examples use C to keep code complexity low and improve clarity. A goal of this book is to prepare students for advanced courses in embedded systems or computer architecture. As such, the topic coverage is wide, with a mixture of software and hardware topics. The assembly language programming topics emphasize the linkage between C language constructs and their assembly language equivalents, so that students clearly understand the impact of C coding choices in terms of execution time and memory requirements. Hardware interface topics included in the textbook cover the fundamentals (parallel, serial, interrupts, A/D, D/A) using devices that do not require an extensive circuits background.
Laboratory Projects These provide an extensive off-the-shelf lab experience (13 experiments) for using the PIC18: one experiment on introductory computer architecture topics, four experiments on PIC18 assembly language, and eight hardware experiments. The hardware experiments require the read to breadboard a PIC18F242 system that includes a serial EEPROM, external 8-bit Digital-to-Analog converter, and RS232 interface, and an infrared receiver module. The hardware labs cover all major subsystems on the PIC18: A/D, timers, asynchronous serial interface, and the 12C interface. All hardware labs are programmed in C, using the HI-TECH PICC18 compiler. A supplemental website (www.reesemicro.com) has book C code examples that have been modified to be compatible with both the Microchip MCC18 and HI-TECH PICC18 compilers, as well as lecture notes and sample quizzes.
More details
Language
English
Place of publication
Hingham
United States
Publishing group
Cengage Learning, Inc
Target group
Professional and scholarly
Dimensions
Height: 239 mm
Width: 193 mm
Thickness: 43 mm
Weight
1339 gr
ISBN-13
978-1-58450-378-1 (9781584503781)
Copyright in bibliographic data is held by Nielsen Book Services Limited or its licensors: all rights reserved.
Schweitzer Classification
Person
Robert B. Reese (Starkville, MS) is a professor of electrical and computer engineering at Mississippi State University, and specializes in the areas of integrated VLSI CAD environments, computer architecture, and self-timed design. He received his PhD in Electrical Engineering from Texas A&M University and has co-authored a variety of electrical/computer engineering publications.
Robert B. Reese (Starkville, MS) is a professor of electrical and computer engineering at Mississippi State University, and specializes in the areas of integrated VLSI CAD environments, computer architecture, and self-timed design. He received his PhD in Electrical Engineering from Texas A&M University and has co-authored a variety of electrical/computer engineering publications.
Robert B. Reese (Starkville, MS) is a professor of electrical and computer engineering at Mississippi State University, and specializes in the areas of integrated VLSI CAD environments, computer architecture, and self-timed design. He received his PhD in Electrical Engineering from Texas A&M University and has co-authored a variety of electrical/computer engineering publications.
Content
Chapter 1 Number System and Digital Logic Review Chapter 2 The Stored Program Machine Chapter 3 Introduction to the PIC18Fxx2 Chapter 4 Unsigned 8-Bit Arithmetic, Logical, Conditional Operations Chapter 5 Extended Precision and Signed Operations Chapter 6 Subroutines and Pointers Chapter 7 Advanced Assembly Language: Higher Math Chapter 8 The PIC18Fxx2: System Startup and Parallel Port IO Chapter 9 Asynchronous Serial IO Chapter 10 Interrupts and a First Look at Timers Chapter 11 Synchronous Serial IO Chapter 12 Data Conversion Chapter 13 Timers Chapter 14 Capstone: Audio Sampling, Monitoring System, and Autonomous Robot Chapter 15 Beyond the PIC18Fxx2 Appendix A PIC18Fxx2 Architecture, Instruction Set, Register Summary Appendix B Microchip MPLAB Quickstart Appendix C HI-TECH PICC-18 C Compiler Demo for the PIC18F242 Appendix D Notes on the C Language Appendix E Suggested Laboratory Exercises Appendix F The Jolt/Colt Serial Bootloaders Appendix G Circuits 001 Appendix H References Appendix I Answers to Review Problems Appendix J About the CD-ROM Index