User:Assassin20X/Computer Architecture

Computer Architecture & the Fetch Execute Cycle
Von Neumann Architecture
- Single Processor
- Follows a linear sequence
- Uses one memory for instructions and data
Registers
Program Counter (PC)
- Holds the address of the next instruction
- Also known as the Sequence Control Register
- Automatically incremented to point to the next instruction
Memory Address Register
- Holds the address in memory that data will be read from and written to
- The contents of the PC are copied to the MAR allowing the PC to be incremented
Current Instruction Register
- Holds both the operator and the operand of the instruction that is to be executed
Accumulator
- Stores the results of ongoing calculations
Program Status Register
- Contains bits that are set or cleared based on the result of a calculation
- e.g. Carry bit, Overflow/Underflow etc.
- Controls interrupt flags
Arithmetic & Logic Unit
- Where data is processed
- Arithmetic = Addition/Subtraction
- Logic = Make Decisions
- Acts as a gateway between the processor and other parts of the computer
Control Unit
- Fetches Instructions*
- Decodes Instructions
- Sends signal to other parts of the computer
Fetch-Decode-Execute Cycle
- Load the address that is in the PC in to the MAR
- Increment the Program Counter by 1
- Load the Instruction in memory into the MDR
- Load the Instruction in the MDR into the Current Instruction Register
- Decode the instruction that is in the CIR
- If the instruction is a jump instruction then :
- Load the address part of the instruction into the PC
- Reset by going to step 1
- Execute the Instruction
- Reset by going to step 1
Steps 1 to 4 = Fetch
Steps 5,6a & 7 = Execute
Steps 6b and 8 = Reset
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.