Self-Help Books from Cengage Learning PTR

Microcontrollers, From Assembly Language to C Using the PIC24 Family

Microcontrollers, From Assembly Language to C Using the PIC24 Family

ISBN 13: 9781584505839

ISBN 10: 1584505834

Author: Robert B. Reese; J.W. Bruce; Bryan A. Jones

Pages: 864

Published: 12/29/2008

Print Book Price: $69.99 Add to cart

eBook Price: $33.94 Add to cart

eBook Download Instructions

Companion downloads

"Microcontrollers: From Assembly Language to C Using the PIC24 Family" provides an introduction to microprocessors and microcontrollers for either the student or hobbyist. It begins by discussing simple microprocessor architecture concepts, moves to assembly language programming in a C language context, then covers fundamental hardware interfacing topics such as parallel IO, asynchronous serial IO, synchronous serial I/O (I2C and SPI), interrupt-driven IO, timers, analog-to-digital conversion, and digital-toanalog conversion. Programming topics are discussed using both assembly language and C, while hardware interfacing examples use C to keep code complexity low and improve clarity. This book's C examples on hardware interfacing strive for code clarity first and optimization second, providing a gentle learning curve and ensuring understanding of the key concepts. The book's numerous examples include complete schematics and working code to operate a number of useful peripherals, including temperature sensors, LCD displays, a robot, and a reflow oven, providing a good starting point for your designs. Numerous lab experiments are included in the appendices, while the companion CD-ROM includes complete source code for all book examples, which can be compiled using the freely available Microchip C compiler and development environment. Visit to obtain supplementary information on the text, the latest version of the library and example code with accompanying documentation, and links to courses which use this text. In addition, an online discussion group promotes interaction with the authors and a forum to discuss PIC24-based projects.
Note*: If you are buying the e-book version of this product, any CD/DVD supplement files referenced throughout the book can be accessed for free at our Companion Downloads page.
  • Written in a conversational style such that the material is accessible to intermediate to advanced hobbyists as well as higher education buyers.
  • Covers the PIC24, a state-of-the-art 16-bit processor from Microchip that offers a minimum of four times the performance of the 8-bit PIC18 family.
  • Covers assembly language and C programming in the same text.
  • Includes numerous hardware interfacing examples for real-world devices.
  • Companion website includes lecture notes, sample tests, and part kit ordering information.
  • Companion website available here:
Author Bio
Robert B. Reese
Robert B. Reese received the B.S. degree from Louisiana Tech University, Ruston, in 1979 and the M.S. and Ph.D. degrees from Texas A&M University, College Station, in 1982 and 1985, respectively, all in electrical engineering. He served as a Member of the Technical Staff of the Microelectronics and Computer Technology Corporation (MCC), Austin, TX, from 1985 to 1988. Since 1988, he has been with the Department of Electrical and Computer Engineering at Mississippi State University, Mississippi State, where he is an Associate Professor. Courses that he teaches include Microprocessors, VLSI systems, Digital System design, and senior design. His research interests include self-timed digital systems and computer architecture.
J.W. Bruce
J.W. Bruce received the B.S.E. from the University of Alabama in Huntsville in 1991, the M.S.E.E. from the Georgia Institute of Technology in 1993, and the Ph.D. from the University of Nevada Las Vegas in 2000, all in electrical engineering. Dr. Bruce has served as a member of the technical staff at the Mevatec Corporation providing engineering support to the Marshall Space Flight Center Microgravity Research Program. He also worked in the 3D Workstation Graphics Group at the Integraph Corporation designing the world's first OpenGL graphics accelerator for the Windows operating system. Since 2000, Dr. Bruce has served in the Department of Electrical and Computer Engineering at Mississippi State University. Dr. Bruce has contributed to the research areas of data converter architecture design and embedded systems design. His research has resulted in more than 30 technical publications and one book chapter.
Bryan A. Jones
Bryan A. Jones received the B.S.E.E. and M.S. degrees in electrical engineer-ing from Rice University, Houston, TX, in 1995 and 2002, respectively, and the Ph.D. degree in electrical engineering from Clemson University, Clemson, SC, in 2005. From 1996 to 2000, he was a Hardware Design Engineer for Compaq, specializing in board layout for high-availability RAID controllers. He is currently an Assistant Professor at Mississippi State University, Mississippi State, MS. His research interests include micro air vehicles, robotics, real-time control-system implementation, rapid prototyping for real-time systems, and modeling and analysis of mechatronic systems.
cover image - Microcontrollers, From Assembly Language to C Using the PIC24 Family
Table of Contents

Part I: Digital Logic Review and Computer Architecture Fundamentals;
Chapter 1: Number System and Digital Logic Review;
Chapter 2: The Stored Program Machine;

Part II: PIC24 uC Assembly Language Programming;
Chapter 3: Introduction to the PIC24 Microcontroller Family;
Chapter 4: Unsigned 8/16-Bit Arithmetic, Logical, and Conditional Operations;
Chapter 5: Extended Precision and Signed Data Operations;
Chapter 6: Pointers and Subroutines;
Chapter 7: Advanced Assembly Language: Higher Math;

Part III: PIC24 uC Interfacing Using the C Language;
Chapter 8: The PIC24HJ32GP202: System Startup and Parallel Port I/O;
Chapter 9: Interrupts and a First Look at Timers;
Chapter 10: Asynchronous and Synchronous Serial I/O;
Chapter 11: Data Conversion;
Chapter 12: Timers;

Part IV: Advanced Interfacing and Programming Topics;
Chapter 13: Advanced Hardware Topics;
Chapter 14: Operating Systems for Embedded Systems;

Part V: Capstone Examples;
Chapter 15: Capstone Projects;

Appendix A: PIC24 Architecture and Instruction Set Summary
Appendix B: Software Tools Overview
Appendix C: Suggested Laboratory Exercises;
Appendix D: Notes on theC Language and the Book's PIC24 Library Functions;
Appendix E: Circuits 001
Appendix F: References;
Appendix G: Problem Solutions