Computer components: CPU (operator, controller, register, cache), memory (memory), input device, output device.
Instruction set: The set of instructions that operations are performed on. Divided into: General instruction set and privileged instruction set.
The minimum memory storage unit is byte (bytes). 1byte=8bits
The 32-bit CPU (2^32) can access up to 4Gbyte of memory capacity.
{The//32bits CPU can have a maximum of 4gbits changes.
2^32 (BITS) =2^10*2^10*2^10*2^2=1024*1024*1024*4 (bits)
2^32 (BITS) =1024*1024*1024*4 (bits)/1024=1024*1024*4 (kbits)
2^32 (BITS) =1024*1024*1024*4 (bits)/1024/1024=1024*4 (Mbits)
2^32 (BITS) =1024*1024*1024*4 (bits)/1024/1024/1024=4 (gbits)
}
Since the minimum unit of CPU for a binary access memory is cell (that is, 8bits), the maximum memory capacity that the 32bits CPU can access is 4GBITS*1BYTE=4GBYTE=4GB.
A program is generally a collection of instructions plus data. It can also be thought of as a collection of algorithms plus data structures.
Programs are typically read from external storage into memory, and then the CPU is processing the memory data (operations).
The way to run a programming language can be divided into: sequential execution, loop execution, select execution.
Principle of computer operating system