Let us talk about the you briefly one more time, so Analia is the main part in any microprocessor or
microcontroller because it handles all of your logical and automatic operations and it usually has two
inputs in order to perform operation on two numbers right here.
And there is the operation mode right here in order to choose if you want to do division, if you want
to do multiplication, addition and subtraction.
And also there's the output right here where it can show us the final result.
In addition to metrics, it can do logical operations like and or X or X nor.
So if you put two numbers right here, you can do these operations as well.
And you might ask why would we want to do and or on a number?
It turns out that it's very useful if you are trying to.
Mask, a resistor, for example, let's say that you are trying to actuate a lamp, so you need to write
to the output, the logical one, in order to make that ladder not right.
So you're right.
This logical on in a resistor, on a one bit register.
Right.
So.
And this registry usually is, let's say, eight Bitlis in length or 16 bits in length, and it is divided
to.
Input and output.
So let's say it registered for input and output.
Now, if you are trying to read the register individually, it's going to be really hard.
So you will be able to read the whole eight bits all at the same time.
Well, in order for you to read only a portion of the eight which resistor, you need some type of masking
techniques.
We might be seeing this later in the course, but right now, I just wanted you to know that an ale
you can perform logical operations, it can also profound shift bitstream and these logical and shifting
come hand in hand in the application I just mentioned.
Now in we going to test now in video, we got to design this, see how we can design it fully and we
we're going to test it.
So see you later.