
New Perspectives on Computer Concepts 2014, Introductory 17th Edition by June Jamrich Parsons,Dan Oja
Edition 17ISBN: 978-1285766997
New Perspectives on Computer Concepts 2014, Introductory 17th Edition by June Jamrich Parsons,Dan Oja
Edition 17ISBN: 978-1285766997 Exercise 2
Make a storyboard showing how a microprocessor's ALU would add the numbers 2 and 8.
Explanation
Storyboard of microprocessor' ALU
Arithmetic and logic unit of a microprocessor can be defined as a digital circuit that performs all the arithmetic operation like division, product finding, addition and subtraction, and logical operation such as NOT, AND, OR, NAND and X-OR. It is the fundamental building block of the CPU in the computer.
For example a microprocessor's ALU can add two numbers 2 and 8:
1. It takes out both the number and put them in to the two register.
2. Suppose number 2 is stored in register B and number 8 is stored in register D.
3. Then it resets the accumulator and adds the content of register B into the accumulator by executing ADD B instruction.
4. Then again it adds the content of register D in to the content of accumulator by executing ADD D instruction.
5. If carry is generated, then it set the carry flag.
6. It displays the sum of two numbers to the output port.
Arithmetic and logic unit of a microprocessor can be defined as a digital circuit that performs all the arithmetic operation like division, product finding, addition and subtraction, and logical operation such as NOT, AND, OR, NAND and X-OR. It is the fundamental building block of the CPU in the computer.
For example a microprocessor's ALU can add two numbers 2 and 8:
1. It takes out both the number and put them in to the two register.
2. Suppose number 2 is stored in register B and number 8 is stored in register D.
3. Then it resets the accumulator and adds the content of register B into the accumulator by executing ADD B instruction.
4. Then again it adds the content of register D in to the content of accumulator by executing ADD D instruction.
5. If carry is generated, then it set the carry flag.
6. It displays the sum of two numbers to the output port.
New Perspectives on Computer Concepts 2014, Introductory 17th Edition by June Jamrich Parsons,Dan Oja
Why don’t you like this exercise?
Other Minimum 8 character and maximum 255 character
Character 255