Vault sync: 2022-01-26 13:29:31
This commit is contained in:
parent
9ae3834c41
commit
60fd19d5e2
@ -5,3 +5,23 @@ Handles devices that allow the computer system to:
|
|||||||
- Screen, keyboard, printer
|
- Screen, keyboard, printer
|
||||||
|
|
||||||
* Store information
|
* Store information
|
||||||
|
|
||||||
|
![[io-subsystem.png]]
|
||||||
|
|
||||||
|
# The Control unit
|
||||||
|
Program stored in memory. (machine language in binary)
|
||||||
|
|
||||||
|
Task of control unit is to execute programs by:
|
||||||
|
* Fetch: from memory the next instruction
|
||||||
|
* Decode: instruction to determine what to do
|
||||||
|
* Execute: issuing signals to ALU, memory and IO systems.
|
||||||
|
|
||||||
|
Repeats until HALT instruction.
|
||||||
|
|
||||||
|
# Typical Machine Instructions
|
||||||
|
MOV: move data from a to b
|
||||||
|
ADD: add numbers
|
||||||
|
SUB: subtract numbers
|
||||||
|
JMP: transfers program control flow to the indicated instruction
|
||||||
|
|
||||||
|
|
||||||
|
BIN
io-subsystem.png
Normal file
BIN
io-subsystem.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 137 KiB |
Loading…
x
Reference in New Issue
Block a user