Article Directory
https://www.bilibili.com/video/BV1Q5411w7z5?p=2
computer hardware components
- CPU
- CU, control unit
- ALU, arithmetic logic unit
- register
- The bridge between the IO Bridge
processor and external interaction - Main Memory
- Disk Controller
- Disk
- USB
- Graphic Adapter
Architecture: How the hardware is organized
- Von Neumann architecture
Von Neumann architecture, also known as Princeton architecture (Princetion architecture),
features: instructions and data are stored in the memory indiscriminately and transmitted via the same bus.
The advantage is that the bus overhead is small, and the control logic implementation is simpler; the disadvantage is that the execution efficiency is low. - The Harvard
architecture
is characterized by storing program instructions and data separately.
There are two communication with the bus and the outside;
the advantage is that the execution efficiency is high, and the disadvantage is that the bus overhead is larger and the control logic implementation is more complicated.
program storage and execution
The ALU can only access registers, not memory.
OPCODE represents an action
0100 00 01: load the number with address 4 (00000001) into register 00; the last 01 means load.
Design and Evolution of Programming Languages
- high level language
- Assembly language
- machine language
After the Program Counter is reset and powered on, the value points to the address of the first instruction to be executed.
Hierarchy of Storage Devices
related to storage
operating system
Main functions of the operating system:
- Protect hardware from misuse by out-of-control software applications
- Provides applications with a simple and consistent abstract interface to control complex multi-peripheral hardware.
Iori 2023-08-03 Men's Day