The Manga Guide to Microprocessors

The Manga Guide to Microprocessors — page 3
3 cPU Architecture 87 All About Memory and the CPU 88 Memory Has Assigned Addresses 89 Data Passes Through the Bus 92 Bus Width and Bits 94 R W Signals and I O Signals 98 Instructions Are Made of Operands and Opcodes 101 Accumulators and Other Registers Are Used in Operations 103 CPU Instruction Processing 106 Classic CPU Architecture 106 The Instruction Cycle 107 The Instruction We Process Changes Depending on the Program Counter 112 All Kinds of Memory Devices 115 A Comparison Between HDD and Memory 116 RAM Space ROM Space and I O Space 119 What Are Interrupts 122 Interrupts Are Useful 122 The Stack and the Stack Pointer 126 Interrupt Priority 128 Memory Classifications 132 I O Ports and the GPU 132 Clock Frequency and Degrees of Accuracy 133 Clock Generators 134 Timer Interrupts 135 Reset Signals 136 CPU Performance Is Measured in FLOPS 137 4 operations 139 Types of Operations 140 There Are Many Types of Instructions 142 Instructions for Arithmetic and Logic Operations 144 What Are Bit Shifts 145 The Sign Bit Lets Us Express Negative Binary Numbers 147 Logical Shifts and Arithmetic Shifts 149 Circular Shifts Rotating Shifts 152 Data Transfer Operations 153 Input Output Instructions 154 Branch Instructions 155 Condition Evaluation and Status Flags 158 Putting Branches and Condition Evaluation Together 161 Operand Types 162 How Many Operands Do We Have 162 Operands Take Many Forms 165 Immediate Value Processing 166 Address References 167 viii contents