In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
What are the functions of the arithmetic unit? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
The functions of the arithmetic unit are four operations of addition, subtraction, multiplication and division, logic operations such as and, OR, no, XOR, and shift, comparison and transmission, and so on. The processing object of the arithmetic unit is data, so the data length and computer data indicate the method. It has a great impact on the performance of the arithmetic unit.
The main functions of the arithmetic unit are as follows: addition, subtraction, multiplication and division, logic operations such as and, OR, no, XOR, and shift, comparison and transmission.
In the 1970s, most general-purpose computers used 16, 32 and 64 bits as the length of data processed by the arithmetic unit. An arithmetic unit that can process all the bits of a data arithmetic unit together is called a parallel arithmetic unit. If only one bit is processed at a time, it is called a serial arithmetic unit. The arithmetic unit divides a complete data into several segments for calculation, which is called serial / parallel arithmetic unit.
Extended data
The number of operations and operating speeds that the calculator can perform marks the strength of the arithmetic unit's ability, and even the ability of the computer itself. The most basic operation of the arithmetic unit is addition. A number is added to zero, and the number is transmitted simply.
Subtract two numbers to compare their size.
The left and right shift is the basic operation of the arithmetic unit. In signed numbers, the symbol does not move and only the data bits are moved. If the data moves together with the whole part of the symbol, it is called logical shift. If the highest bit and lowest bit of data are logically shifted, it is called cyclic shift.
The logical operation of the arithmetic unit can make the two data bitwise and, XOR, and ask the members of a data to be wrong. Some operators can also perform 16 logical operations of binary codes.
The operation of multiplication and division is more complicated. The calculators of many computers can do these operations directly. The multiplication operation is based on the addition operation, which is controlled by the decoding of one or more bits of the multiplier, and the partial product is added to the product.
Computers that do not implement multiplication and division hardware can use programs to complete multiplication and division, but the speed is much slower. Some operators can also find the maximum number in a batch, continuously perform the same operation on a batch of data, and find the square root and other complex operations.
The answers to the questions about the role of the calculator are shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.