Details

Microprocessor 4


Microprocessor 4

Core Concepts - Software Aspects
1. Aufl.

von: Philippe Darche

139,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 03.12.2020
ISBN/EAN: 9781119801955
Sprache: englisch
Anzahl Seiten: 256

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

Since its commercialization in 1971, the microprocessor, a modern and integrated form of the central processing unit, has continuously broken records in terms of its integrated functions, computing power, low costs and energy saving status. Today, it is present in almost all electronic devices. Sound knowledge of its internal mechanisms and programming is essential for electronics and computer engineers to understand and master computer operations and advanced programming concepts. This book in five volumes focuses more particularly on the first two generations of microprocessors, those that handle 4- and 8- bit integers. Microprocessor 4 – the fourth of five volumes – addresses the software aspects of this component. Coding of an instruction, addressing modes and the main features of the Instruction Set Architecture (ISA) of a generic component are presented. Futhermore, two approaches are discussed for altering the flow of execution using mechanisms of subprogram and interrupt. A comprehensive approach is used, with examples drawn from current and past technologies that illustrate theoretical concepts, making them accessible.
<p>Quotation ix</p> <p>Preface xi</p> <p>Introduction xv</p> <p><b>Chapter 1. Coding and Addressing Modes </b><b>1</b></p> <p>1.1. Encoding and formatting an instruction 1</p> <p>1.1.1. Code compression 8</p> <p>1.2. Addressing modes 8</p> <p>1.2.1. Immediate addressing10</p> <p>1.2.2. Register addressing 11</p> <p>1.2.3. Memory addressing modes 12</p> <p>1.2.4. Other addressing modes 24</p> <p>1.2.5. Summary on addressing 31</p> <p>1.3. Conclusion 32</p> <p><b>Chapter 2. Instruction Set and Class </b><b>33</b></p> <p>2.1. Definitions 33</p> <p>2.2. Transfer instructions 35</p> <p>2.2.1. Data transfer 35</p> <p>2.2.2. Address manipulation instructions 37</p> <p>2.3. Data processing instructions 37</p> <p>2.3.1. Arithmetic instructions for integers 37</p> <p>2.3.2. Bit manipulation instructions 38</p> <p>2.4. Control transfer instructions 49</p> <p>2.4.1. Branchings 50</p> <p>2.4.2. Conditional execution 56</p> <p>2.4.3. Iteration control 59</p> <p>2.4.4. Subroutine call and return instructions 62</p> <p>2.5. Environmental instructions 63</p> <p>2.5.1. Interrupt request and interrupt return instructions 63</p> <p>2.5.2. Stopping instructions 63</p> <p>2.5.3. Processor management 64</p> <p>2.5.4. Memory management64</p> <p>2.5.5. Hardware detection 65</p> <p>2.5.6. Debugging 66</p> <p>2.5.7. Updating 66</p> <p>2.5.8. Verification 66</p> <p>2.5.9. Various 66</p> <p>2.6. Parallelism instructions 66</p> <p>2.6.1. Atomic instructions 66</p> <p>2.6.2. Synchronization instructions 68</p> <p>2.7. Extensions to instruction sets 68</p> <p>2.7.1. Multimedia extension 68</p> <p>2.7.2. Extension for signal processing 71</p> <p>2.7.3. Cryptography 72</p> <p>2.7.4. Randomization management 72</p> <p>2.7.5. Implications 72</p> <p>2.8. Various instructions 72</p> <p>2.8.1. Instructions for handling (strings of) characters 72</p> <p>2.8.2. Input/output instructions 73</p> <p>2.8.3. High-level instructions 73</p> <p>2.8.4. Arithmetic instructions specific to a representation of particular numbers. 73</p> <p>2.8.5. An unusual instruction 75</p> <p>2.9. Conclusion 75</p> <p><b>Chapter 3. Additional Concepts </b><b>77</b></p> <p>3.1. Concepts associated with the instruction set and programming 77</p> <p>3.1.1. llegal, non-implemented, invalid, reserved and trusted instructions 77</p> <p>3.1.2. Alignment or framing of instructions 78</p> <p>3.1.3. Orthogonality and symmetry 80</p> <p>3.1.4. Pure, re-entrant and relocatable codes and code for read-only memory 81</p> <p>3.1.5. Levels of programming languages 82</p> <p>3.2. Concepts linked to execution 83</p> <p>3.2.1. Consequences for execution time and memory requirements 83</p> <p>3.2.2. Execution modes 84</p> <p>3.2.3. Portability 88</p> <p>3.2.4. Virtualization 88</p> <p>3.3. Hardware and software compatibilities 90</p> <p>3.3.1. Hardware compatibility 90</p> <p>3.3.2. Software compatibility 90</p> <p>3.3.3. Upward and downward compatibilities 91</p> <p>3.4. Measuring processor performances 93</p> <p>3.4.1. Clock rate 94</p> <p>3.4.2. Number of instructions per cycle 95</p> <p>3.4.3. Execution time 97</p> <p>3.4.4. Benchmark suites 97</p> <p>3.4.5. Development of performances over time 101</p> <p>3.5. Criteria for choosing 102</p> <p>3.6. Conclusion 103</p> <p><b>Chapter 4. Subroutine </b><b>105</b></p> <p>4.1. Stack memory 105</p> <p>4.2. Subroutine 113</p> <p>4.2.1. Nested calls 115</p> <p>4.2.2. Execution context 116</p> <p>4.2.3. Passing parameters and call conventions 116</p> <p>4.3. Conclusion 118</p> <p><b>Chapter 5. Interrupt Mechanism </b><b>119</b></p> <p>5.1. Origin, definition and classification 119</p> <p>5.2. External causes 121</p> <p>5.2.1. Execution context 125</p> <p>5.2.2. Sources 125</p> <p>5.2.3. Masking 127</p> <p>5.2.4. Consideration and priority 129</p> <p>5.2.5. Interrupt controller 132</p> <p>5.3. Nested interrupts 133</p> <p>5.4. Internal causes 135</p> <p>5.5. Debugging 138</p> <p>5.6. Priority between internal and external interrupts 139</p> <p>5.7. Identification of the source and vectorization 146</p> <p>5.8. Nested and queued interrupts 152</p> <p>5.9. Uses 153</p> <p>5.10. Interrupts and execution modes 154</p> <p>5.11. Interrupts and advanced architectures 155</p> <p>5.12. Conclusion 162</p> <p>Conclusion of Volume 4 163</p> <p>Exercises 165</p> <p>Appendix 171</p> <p>Acronyms 177</p> <p>References 197</p> <p>Index 211</p>
Philippe Darche is Maître de conférences in Information Technology at the Institut Universitaire de Technologie (IUT) de Paris and a researcher at LIP6 at Sorbonne University in the Inria DeLyS (DistributEd aLgorithms and sYstemS) team, France. He is the author of five books in the field of computer architecture.

Diese Produkte könnten Sie auch interessieren:

From Photon to Pixel
From Photon to Pixel
von: Henri Maître
PDF ebook
139,99 €
Computer Vision in Vehicle Technology
Computer Vision in Vehicle Technology
von: Antonio M. López, Atsushi Imiya, Tomas Pajdla, Jose M. Álvarez
PDF ebook
81,99 €
Foundations of Electromagnetic Compatibility
Foundations of Electromagnetic Compatibility
von: Bogdan Adamczyk
PDF ebook
117,99 €