Programming for Microprocessors (eBook)
216 Seiten
Elsevier Science (Verlag)
978-1-4831-6347-5 (ISBN)
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.
Front Cover
1
Programming for Microprocessors 4
Copyright Page
5
Table of Contents 8
Preface 6
Chapter 1. General introduction 10
The microprocessor 10
Hardwired and programmed systems 11
Some contrasting properties of hardwired and programmed devices 13
A classification of microprocessors 15
Summary 16
Chapter 2. Representation of data 17
The binary system 17
Boolean information 17
Numerical information 18
Character codes 25
Machine code 26
Chapter 3. Basic structure of a microprocessor 27
The store 28
The central processing unit 29
Peripheral interface units 33
The bus 37
Chapter 4. Assembly language 39
A program as an engineering drawing 39
The elements of assembly language 40
Items 42
Directives 43
The use of names 44
Definitions 46
A complete example 46
Practical points 49
Chapter 5. Some aspects of microprocessor design 50
Essential features 50
Desirable features 56
Options 58
Chapter 6. Introduction to the Motorola 6800 60
Motorola 6800 architecture 60
The Motorola 6800 order code 62
Some sample programs 69
Chapter 7. Some programming techniques 79
Routines and subroutines 79
High-precision arithmetic 84
Direct mode 86
Arrays 86
Chapter 8. Control of peripheral devices (1) 95
Direct control 95
Control by polling 98
A practical example 101
Chapter 9. Control of peripheral devices (2) 116
Plural polling 116
Interrupts 117
General-purpose interface controllers 120
Chapter 10. Comparing microprocessors 133
The Intel 8080 133
Some more general features 136
Chapter 11. High-level languages 140
Compilers 141
Interpreters 143
BASIC 144
PL/F 147
Discussion 151
Chapter 12. Practical aids to programming 153
The ROM simulator 153
Filing systems 154
Editors 155
Subroutine libraries 156
Translators (compilers and assemblers) 157
Loaders 160
Monitors 160
Simulators 165
Debuggers 165
De-assemblers 165
Logic analysers 166
Development sets 168
References 169
APPENDIX 1 170
ASCII code 170
Group 1: Control characters 170
Group 2: Printed characters 171
APPENDIX 2 172
Motorola 6800 instruction repertoire 172
APPENDIX 3 179
PL/F (6800 version) 179
Language description 179
Compiler controls 195
Implementation features 198
Error codes 199
Using RT-11 system on the PDP-11 200
Paper tape format 200
APPENDIX 4 202
PL/F sample program 202
Index 212
| Erscheint lt. Verlag | 20.5.2014 |
|---|---|
| Sprache | englisch |
| Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
| Mathematik / Informatik ► Informatik ► Software Entwicklung | |
| Mathematik / Informatik ► Informatik ► Theorie / Studium | |
| ISBN-10 | 1-4831-6347-4 / 1483163474 |
| ISBN-13 | 978-1-4831-6347-5 / 9781483163475 |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich