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 Debug program in assembly language , To make a program in assemble...

To make a program in assembler two choices exist, the earliest one is to use the TASM or Turbo Assembler, of Borland, and the next one is to use the debugger, generally we use this

Ms-powerpoint presentation for promoting national parks, Ms-PowerPoint Pres...

Ms-PowerPoint Presentation for Promoting National Parks You have been hired by Tourism Department to make a presentation to the travel agents from different countries. Design

What is mixing, Question 1 Briefly explain waveform Characteristics ...

Question 1 Briefly explain waveform Characteristics Question 2 Write a note on: types of Microphones Question 3 Briefly explain Magnetic Properties of Audiotape

Components of a digital computer , COMPONENTS OF A DIGITAL COMPUTER: A...

COMPONENTS OF A DIGITAL COMPUTER: A digital computer is an electronic device that receives data, performs arithmetic and logical operations and produces results according to a

Describe the binary search algorithm, QUESTION 1 Describe the binary se...

QUESTION 1 Describe the binary search algorithm using an example of your own. QUESTION 2 (a) By showing all your workings, give a big-O estimate for f(x) = (x + 1)lo

Immediate addressing, These addressing modes are: With immediate addressing...

These addressing modes are: With immediate addressing, no lookup of data is essentially required. The data is located in the operands of the instruction itself, not in a different

Ascii & unicode, ASCII code:  An alphanumeric code has to represent 10...

ASCII code:  An alphanumeric code has to represent 10 decimal digits, 26 alphabets and certain other symbols such as punctuation marks and special characters. Therefore, a min

Comparison instructions , They are used to evaluate operators, and they hav...

They are used to evaluate operators, and they have an effect on the content of the flags. CMP CMPS (CMPSB) (CMPSW) CMP INSTRUCTION Idea: To measure up to the operators. Syntax: CMP

Data transmission, DATA TRANSMISSION: When we talk on the telephone we...

DATA TRANSMISSION: When we talk on the telephone we generally transmit a message to someone else. The message is made up of words that we speak into the telephone instrument.

Hardware basics, HARDWARE BASICS In the foregoing section of this Unit...

HARDWARE BASICS In the foregoing section of this Unit, an attempt has been made to explain to you the historic perspective relating to the development of computer from its ear

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