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

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.
Posted Date: 5/3/2012 6:49:00 AM | Location : United States







Related Discussions:- what are the tasks of ALU and their subcomponents, Assignment Help, Ask Question on what are the tasks of ALU and their subcomponents, Get Answer, Expert's Help, what are the tasks of ALU and their subcomponents Discussions

Write discussion on what are the tasks of ALU and their subcomponents
Your posts are moderated
Related Questions
Question 1 Explain different functions of an operating system. Explain the evolution of operating systems Question 2 Explain process creation and process termination Ques

IPv6 documented in 1994 (RFC 1752) is still a collection of Draft and Proposed standards Several pre-standard implementations exist IPv6 was intended to be a pragmatic up


Moderns: As it was explained earlier, communications channels can operate in either the Analog or digital mode. However, a given circuit can operate only in one mode not both

What constitutes ERP? ERP typically comprises a client server architecture, fourth generation language, RDBMS and graphical user interface in an open systems environment. It

Ask quwhat is binary estion #Minimum 100 words accepted#

Consider the one-time pad encryption scheme to encrypt a 1-bit message m, and assume m is chosen with uniform distribution from message space M={0,1}. Let E1 be the event "message

A procedure is a compilation of instructions to which we can express the flow of our program, and once the execution of these instructions is over power is given back to the next l

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome