Line 1: Line 1:
 
{{box|type=green_dark|text=Arithmetic and Logic Unit in Detail}}
 
{{box|type=green_dark|text=Arithmetic and Logic Unit in Detail}}
 
{{box|type=l_green_light|text= You should have heard of an Arithmetic and Logic Unit before, while discussing a Computer CPU or a micro controller. In this tutorial we will look at what an ALU really is? <br />
 
{{box|type=l_green_light|text= You should have heard of an Arithmetic and Logic Unit before, while discussing a Computer CPU or a micro controller. In this tutorial we will look at what an ALU really is? <br />
We will discuss a 4 bit ALU; this would limit many possibilities 16. We would assume that associated registers and instruction set are also 4 bit.
+
We will discuss a 4 bit ALU; this would limit many possibilities 16. We would assume that associated registers and instruction set are also 4 bit.<br />
 +
{| class="wikitable" style="text-align:center"
 +
|-
 +
!colspan="2"| Inputs !!colspan="2"| Outputs
 +
|-
 +
! ''A'' !! ''B'' !! ''S'' !! ''C''
 +
|-
 +
| 0 || 0 || 0  || 0
 +
|-
 +
| 1 || 0 || 1  || 0
 +
|-
 +
| 0 || 1 || 1  || 0
 +
|-
 +
| 1 || 1 || 0  || 1
 +
|-
 +
|}
 +
 
  
 
=== The basic Unit: 1 bit ALU===
 
=== The basic Unit: 1 bit ALU===

Revision as of 11:11, 8 December 2013

Arithmetic and Logic Unit in Detail

You should have heard of an Arithmetic and Logic Unit before, while discussing a Computer CPU or a micro controller. In this tutorial we will look at what an ALU really is?
We will discuss a 4 bit ALU; this would limit many possibilities 16. We would assume that associated registers and instruction set are also 4 bit.
{