Five major component values; Memory Controller memory input device output device
Central processor storage device (internal and external) Input and Output
Hardware: Device
Software: hardware operation control
Program:
A computer program is a combination of commands (and command parameters) that control computer operations based on the established logic.
Command:
A command is a set of symbols. You know the meaning of these symbols.
Command compatibility:
Different "processor" types usually have different sets of commands
Generally, the computers we use intel or AMD's central processor (CPU), which is called "80x86 CPU assembly instructions"
Complex Instruction Sets and simplified instruction sets:
CISC (Complex Instruction Set Computer)
Balanced CED Instruction Set Computer)
Program = logic combination of commands
In many cases, we think that a program is a command. In many cases, we think that a program is a logic.
A mnemonic is a combination of short English letters. These mnemonic symbols and corresponding syntax rules are called "assembly languages"
Assembly Language and machine language: no additional compilation is required,CodeHigh efficiency and low memory usage
Process-oriented: to accomplish one thing, we need to break it down into multiple things.
Object-oriented: define their data and behavior capabilities based on different types of things,
And the relationship between different things
C language: When we need to write drivers for hardware devices-C language is even known as the "intermediate" language. The reason is that
It is very good to reflect the characteristics of machines, especially the "Memory", so it guarantees
It is well compatible and replaces the Assembly Language and becomes the first language in the operating system, compiling program, and running environment.
Focuses on "Process Management" and C language that is good at dealing with hardware
A hardware-only machine, which we call "bare metal", needs to write an operating system for it.
Integrated Development Environment/integrated development environment
Integrate the "code editing", "code compilation, Link", and "debugging" functions into one software.
Step C
define the program target design program code, compile, run, test, debug, and maintain modifications