Operating System - Xiaoji 230803


https://www.bilibili.com/video/BV1Q5411w7z5?p=2


computer hardware components

insert image description here


  • 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

insert image description here


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


insert image description here

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

insert image description here


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
insert image description here


insert image description here


operating system

insert image description here


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

Guess you like

Origin blog.csdn.net/lovechris00/article/details/132092002