How do 32-bit and 64-bit computer CPU commands be distinguished?

Source: Internet
Author: User

How do 32-bit and 64-bit computer CPU commands be distinguished? Browsing times: 812

Questioner: wu123st

A very professional question. Because the article introduced 32 and 64-bit CPUs, I want to know what determines the number of digits. I know it must be related to the hardware, but I just want to get an easy-to-understand explanation. Also, is the 32-bit and 64-bit operating systems proposed in recent years the same as the 32-bit and 64-bit operating systems?

Question added:

Is the microinstruction In the CPU public? For example, are commands in Intel and AMD CPUs publicly available? Is there an open-source micro-instruction CPU?
 
Best Answer
The 32-bit and 64-bit CPUs are determined by the number of digits used by each memory in the computer. A 32-bit Register uses a 32-Bit 0, 1 string, and a 64-bit Register uses a 64-Bit 0, 1 string. Among them, 64-bit has added some registers based on 32-bit. Registers store micro commands, which are composed of commands and operands. The length of the Register determines the instruction length and addressing capability of the CPU. The longer the instruction length, the more commands that can be supported, the longer the address space, the more physical addresses that can be accessed. A simple example is that the 32-bit CPU address line is 20 bits, so in real mode, only 1 MB of memory can be used. The 64-bit CPU address line is 48-bit, so TB of memory can be used in real mode. Currently, the 32-bit operating system uses an offset to use more than 1 MB of memory. When the CPU-oriented program is running, using immediate addressing is the fastest, therefore, in theory, the 64-bit CPU should be faster than the 32-bit CPU. The current 64-bit CPU simply uses the extra registers provided by the 64-bit CPU instead of making changes in the kernel. In 32-bit OS, because 1 MB of memory is far from enough, an offset addressing is generated, so that 64 GB of memory can be used. If the 64-bit CPU is not used, it can reach 256 TB in the instant count mode, and only the instant count mode can be used. The instant count method is at least twice faster than other methods. We can think that the current 64-bit operating system is the same as the 32-bit operating system.

There are 3 other answers, 2011-1-3 13: 09huangxin121121 | level 6

In fact, it is the number of binary digits that the CPU can process at a time. For example: 1100110011001100,110011001100110011001100110011 (Binary), the first CPU can process 16 bits at a time: 1100110011001100, And now it can process 1100110011001100110011001100110011001100110011001100110011001100. That is to say, 16 bits can process 16 values at a time, 32 bits can be 32, and 64 bits can be 64. If the CPU can process 64-bit data at a time, and the operating system only gives it 32-bit data, half of the CPU performance is not fully utilized, but you replace it with a 64-bit operating system, then the CPU performance will be realized. No. The see1.see2 and see3 contained in amdcpu are the right to use them purchased with intel.
02011-1-3 The World of dedicated Education | level 5
Like a highway, there are usually two lines on the left, one on the right, and two lines on the left, two on the right, and four on the high speed. The traffic speed is different.
02011-1-5 10: 45wrcr2010 | level 4
In fact, the current x86 system is a 32-bit 64-bit system. The landlord can also see the online CD image or CPU parameters, it is easy to understand.

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.