Principle of computer operating system

Source: Internet
Author: User


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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.