what are the tasks of ALU and their subcomponents, Basic Computer Science

Assignment Help:
ALU’s tasks and their suitable subcomponents:
Addition and subtraction
these two tasks are carried out by constructs of logic gates, such as half adders and full adders. While they may be termed ''adders'', with the aid of they can also carry out subtraction via use of inverters and ''two''s complement'' arithmetic.
The topic of logic gates is too exclusive and detailed to be covered in full here. Many resources survive on the internet and elsewhere relating to this topic, though, so it is recommended that you read further into the areas outlined above to aid with your learning.
Multiplication and division
in most modern processors, the multiplication and division of integer values is controlled by particular floating-point hardware within the CPU. previous processors used either additional chips known as math’s co-processors, or used a completely different method to perform the task.
Logical tests
further logic gates are used within the ALU to perform a number of different logical tests, as well as seeing if an operation produces a result of zero. Mainly of these logical tests are used to then change the values stored in the flag register, so that they may be checked later by separate operations or instructions. Others produce a result which is then stored, and used later in additional processing.
Comparison
Comparison operations contrast values in order to determine such things as whether one number is greater than, less than or equal to another. These operations can be performed by subtraction of one of the numbers from the other, and as such can be handled by the aforesaid logic gates. Though, it is not strictly necessary for the result of the calculation to be stored in this example. The amount by which the values differ is not required. In its place, the appropriate status flags in the flag register are set and checked to find out the result of the operation.
Bit shifting
Shifting operations move bits left or right inside a word, with different operations filling the gaps created in different ways. This is completed via the use of a shift register, which uses pulses from the clock in the control unit to trigger a chain reaction of movement across the bits that make up the word. Once more, this is a quite complicated logical procedure, and additionally reading may aid your understanding.

Related Discussions:- what are the tasks of ALU and their subcomponents

Convert string to super ascii, A string S is said to be "Super ASCII", if i...

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''''''a''''''''-'''''''

Audio/video applications on network, AUDIO/VIDEO APPLICATIONS ON NETWORK ...

AUDIO/VIDEO APPLICATIONS ON NETWORK Clinical applications of a computer include recording of slit lamp images on a computer. These still images or even videos can be recorde

Networks, Networks: There are different interpretations for the term °...

Networks: There are different interpretations for the term °nets% The Oxford English Dictionary states that 'a network is an interconnected chain or system of immaterial thing

Depth first search-artificial intelligence, Depth First Search-Artificial i...

Depth First Search-Artificial intelligence: Depth first search is  similar to breadth first, except that things are added to the top of the plan rather than the bottom. In our

Login, Login Because the information on a network is sharable, network...

Login Because the information on a network is sharable, networks are very susceptible to unauthorized intruders. In order to prevent unauthorized access to use the services o

Long term goal of artificial intelligence, Long term goal of artificial int...

Long term goal of artificial intelligence: This is not to be complex with the applications of AI programs to other sciences, discussed later. Rather, it is just pointing out th

Inforamtion infrastructure and services, benefit a company derive from mana...

benefit a company derive from managing it own information technology

Fully describe the assessment centre method of selection, Problem: One ...

Problem: One large employer requests CVs from applicants, and, on the basis of these, invites a selected number to take part in a telephone interview. A date and time are provi

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd