Programming for Microprocessors

Book description

Programming for Microprocessors deals with the basics of programming for microprocessors and contains practical aids to programming. Topics covered range from assembly language and microprocessor design to the Motorola 6800, programming techniques, control of peripheral devices, and high-level languages. Emphasis is given to the computer-like aspects of microprocessors.
This text is comprised of 12 chapters; the first of which provides a general overview of microprocessors, differences between hardwired and programmed devices, and different kinds of microprocessors. The reader is then introduced to the basic types of information inside a microprocessor, including Boolean information, numerical information, character codes, and the machine code. The chapters that follow focus on the intellectual and practical tools that the designer of a microprocessor system will need. The basic structure of a microprocessor is analyzed, with particular reference to a simple hypothetical computer and some programs for this machine. This book also discusses assembly language; some of the features that give microprocessors their flexibility as well as generality and power; and the Motorola 6800 microprocessor as an example of machine architecture. Some programming techniques, high-level languages for writing programs, and the problem of bringing the hardware and software together are highlighted.
This book will be useful to computer programmers, computer scientists, and electronic engineers.

Table of contents

  1. Front Cover
  2. Programming for Microprocessors
  3. Copyright Page
  4. Table of Contents
  5. Preface
  6. Chapter 1. General introduction
    1. The microprocessor
    2. Hardwired and programmed systems
    3. Some contrasting properties of hardwired and programmed devices
    4. A classification of microprocessors
    5. Summary
  7. Chapter 2. Representation of data
    1. The binary system
    2. Boolean information
    3. Numerical information (1/2)
    4. Numerical information (2/2)
    5. Character codes
    6. Machine code
  8. Chapter 3. Basic structure of a microprocessor
    1. The store
    2. The central processing unit
    3. Peripheral interface units
    4. The bus
  9. Chapter 4. Assembly language
    1. A program as an engineering drawing
    2. The elements of assembly language
    3. Items
    4. Directives
    5. The use of names
    6. Definitions
    7. A complete example
    8. Practical points
  10. Chapter 5. Some aspects of microprocessor design
    1. Essential features
    2. Desirable features
    3. Options
  11. Chapter 6. Introduction to the Motorola 6800
    1. Motorola 6800 architecture
    2. The Motorola 6800 order code (1/2)
    3. The Motorola 6800 order code (2/2)
    4. Some sample programs (1/2)
    5. Some sample programs (2/2)
  12. Chapter 7. Some programming techniques
    1. Routines and subroutines
    2. High-precision arithmetic
    3. Direct mode
    4. Arrays
  13. Chapter 8. Control of peripheral devices (1)
    1. Direct control
    2. Control by polling
    3. A practical example (1/3)
    4. A practical example (2/3)
    5. A practical example (3/3)
  14. Chapter 9. Control of peripheral devices (2)
    1. Plural polling
    2. Interrupts
    3. General-purpose interface controllers (1/3)
    4. General-purpose interface controllers (2/3)
    5. General-purpose interface controllers (3/3)
  15. Chapter 10. Comparing microprocessors
    1. The Intel 8080
    2. Some more general features
  16. Chapter 11. High-level languages
    1. Compilers
    2. Interpreters
    3. BASIC
    4. PL/F
    5. Discussion
  17. Chapter 12. Practical aids to programming
    1. The ROM simulator
    2. Filing systems
    3. Editors
    4. Subroutine libraries
    5. Translators (compilers and assemblers)
    6. Loaders
    7. Monitors
    8. Simulators
    9. Debuggers
    10. De-assemblers
    11. Logic analysers
    12. Development sets
  18. References
  19. APPENDIX 1
    1. ASCII code
    2. Group 1: Control characters
    3. Group 2: Printed characters
  20. APPENDIX 2
    1. Motorola 6800 instruction repertoire
  21. APPENDIX 3
    1. PL/F (6800 version)
    2. Language description
    3. Compiler controls
    4. Implementation features
    5. Error codes
    6. Using RT-11 system on the PDP-11
    7. Paper tape format
  22. APPENDIX 4
    1. PL/F sample program
  23. Index (1/2)
  24. Index (2/2)

Product information

  • Title: Programming for Microprocessors
  • Author(s): Andrew Colin
  • Release date: May 2014
  • Publisher(s): Newnes
  • ISBN: 9781483163475