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

Explain the effects of a lack of communication, Question 1 Explain the dif...

Question 1 Explain the different categories of Software applications Question 2 Write a note on Data Dictionaries Question 3 Explain the following (a) Top-down testin

Networking.., write advantages and disadvantages of private and public netw...

write advantages and disadvantages of private and public network

The elif Statement, The elif statement permits you to check multiple expres...

The elif statement permits you to check multiple expressions for truth value and execute a block of code the moment one of the conditions estimates to true. similar to the else, th

Types of policy, want to get detail understanding of the types of security ...

want to get detail understanding of the types of security policies including enterprise security policy, issues specific policies etc

Explain Process States and Process Control Block (PCB), Process States Thr...

Process States Throughout the lifespan of a process, its execution position may be in one of four states: (linked with each state is generally a queue on which the process resides)

Bootstrap loader, Bootstrap loader: The critical programs are loaded i...

Bootstrap loader: The critical programs are loaded into memory by the bootstrap loader at start-up time and will remain resident as long as the computer is running. The bootst

Unix, How do I change file permissions? Every time I execute chmod commands...

How do I change file permissions? Every time I execute chmod commands it tells me permission denied.

Hotel database, Create a database,show all ojectives and give a fruitful in...

Create a database,show all ojectives and give a fruitful introduction and also state how it will be implemented

Multiplaxer, what is multiplaxer and truth table, digram

what is multiplaxer and truth table, digram

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