Fundamentals of Embedded Software: Where C and Assembly Meet is a refreshing alternative to the traditional sophomore text on computer organization and assembly language programming. The text approaches assembly the way it is commonly used in practice to implement small, fast, or special-purpose routines called from a main program written in a high-level language such as C. By using an embedded software context, author Daniel W. Lewis introduces multi-threaded programming, preemptive and non-preemptive systems, shared resources, and scheduling -- thus providing a solid foundation for subsequent courses on operating systems, real-time systems, networking, and microprocessor-based design.
This book will help you to:
- Appreciate the often overlooked consequences and limitations of binary representation
- Implement fast real-number arithmetic using fixed-point reals instead of floating-point
- Reinforce your comprehension of scope, parameter passing, recursion, and memory allocation
- Employ features of C (such as bit-manipulation and variant access) commonly used in embedded software
- Write functions in Intel x86 protected mode assembly to be called from C
- Estimate maximum data rate and latency for various styles of I/O programming
- Manage multiple threads, shared resources, and critical sections
- Develop programming practices that avoid priority inversions, deadlocks, and shared memory problems
Fundamentals of Embedded Software: Where C and Assembly Meet comes with a CD-ROM containing all the software tools needed to build simple stand-alone embedded applications on an ordinary Pentium-class PC: a C compiler, assembler, linker, boot loader, library, and both preemptive and non-preemptive real-time kernels. Also included are major portions of the source code for a number of programming assignments found in an appendix of the text.
266 pages, hardcover, CD-ROM included