mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
vault backup: 2022-07-23 23:24:14
This commit is contained in:
parent
b8e0d8fc5b
commit
09ea94f896
@ -69,4 +69,59 @@ tags:
|
|||||||
- shifting
|
- shifting
|
||||||
- comparison
|
- comparison
|
||||||
- logical tests (if, >0, <0, =0, <=0, etc)
|
- logical tests (if, >0, <0, =0, <=0, etc)
|
||||||
|
|
||||||
|
# Control unit
|
||||||
|

|
||||||
|
|
||||||
|
- coordinates the operation of the computer
|
||||||
|
- generates control signals
|
||||||
|
- connect registers to the bus
|
||||||
|
- control the function of the ALU
|
||||||
|
- provides timing signals to the system
|
||||||
|
|
||||||
|
allso associated with the decoding and executuion of instructions in a pipelined system
|
||||||
|
|
||||||
|
# Registers
|
||||||
|

|
||||||
|
|
||||||
|
- memory cells with names
|
||||||
|
- hold data, instructions, or CPU status
|
||||||
|
- various sizes, (8, 16, 32, or 64, or larger (512))
|
||||||
|
- hold data typically the same width as memory words
|
||||||
|
- registers for accessing memory typically the same with as the address bus
|
||||||
|
|
||||||
|
Special purpose registers
|
||||||
|
- program counter
|
||||||
|
- stores address of current instruction
|
||||||
|
- accumulator
|
||||||
|
- source of one of the operands
|
||||||
|
- destination of the result
|
||||||
|
- status flags
|
||||||
|
- individaul bits store information about results of operations
|
||||||
|
- result of last instruction was negative, zero, or postive
|
||||||
|
- carry from most recent arithmetic operation
|
||||||
|
- overflow occurred during the last instruction
|
||||||
|
|
||||||
|
# CPU
|
||||||
|

|
||||||
|
|
||||||
|
# Computer
|
||||||
|

|
||||||
|
|
||||||
|
# Instructions
|
||||||
|
- bit patterns
|
||||||
|
- can be split into a number of fields
|
||||||
|
- operation to be executed
|
||||||
|
- the address in memory
|
||||||
|
- which registers (or memory cells) to use as operands
|
||||||
|
- where to place the result (registers or memory)
|
||||||
|
|
||||||
|
# Stored program computer
|
||||||
|

|
||||||
|
|
||||||
|
# Von Neumann Architecture
|
||||||
|
- three key concepts
|
||||||
|
- data and instructions are stored in a single read-write memory
|
||||||
|
- contents of memory are addressable by location, without regard to the type of data contained
|
||||||
|
- execution occurs in a sequential fashion, unless explicitly altered, from one instuction to the next
|
||||||
-
|
-
|
||||||
Loading…
Reference in New Issue
Block a user