In this, we are going to talk about the types in the assembly language.
So the first thing you're going to encounter is but by no means a collection of eight bits.
And the word means 16 words and the word stands for the word.
The word and that little bits and Q are the code word means 64 bits, as you can see by it is the group
of eight bits and the word is the word of the baby.
So you can do it in the world.
And in the similar way that they were also called double, what is the problems of war?
And you can put two words and forwards.
So actually, in order to do with some level, most maximum, we deal with the rewards and because the
quiet words cannot fit into the.
So if we want to operate the quiet word, then we'll press for that to it's in the 80s and the next
30 years.
So let's see how we declare a variable with the memory allocation.
So first, we need to set variable name.
I'm going to say variable one word one, and we need to put the current the previous model.
We have seen the message variables to use the word string.
This assembly language in this has some language.
We don't this be the string or like that.
We just define the memory and then we allocate the value.
So the first thing you need to do is because the variable and put the semicolon.
So these are not actually variable names.
These are the labels.
Its purpose is just to refer this memory location by this name and then you to define by C D, which
stands for define the memory that directly.
And if you go to the previous state and if we define the W defined, what do we define the word?
And they could define quite what we're not seeing code words here.
We will be seeing a double word.
So D stands for double you define word defined by it and then we need to set the actual value to be
conferred with a variable one.
So where one defined word and one note, the word one holds the value one.
As you can see, this is the common in a similar way.
Coming to the word two, we are going to define a bite which holds the value of hexadecimal 41.
And the word three was the value of year, but it's also what it means to bite.
So since there is one bite and the extra weight is going to be another weight and a variable for we
are going to define bite and we are going to say hello world.
So this where for host the continuous bites of whatever it means, it stirs each bite.
Just memory allocation, memory error in the similar way.
Variable five different.
We going to define word and this is the.
Sorry, this is 16.
So sorry.
And the value is one, two, three, four.
The next are this one and the variable six is different.
Our word and this is the title of our four bites and this where it was exposed the value.
One, two, three, four, five, six, seven, eight.
Up to now, it's so simple, but if you want to write this introduction so many times and we knew we
cannot copy paste, it takes so much time.
That's why there is another instruction called Time's instruction.
As you can see where it was seven and the Times Co. and the far right gender, the finding of variable
defined by Dirac's.
So what this means is this Biji is going to be repeated 20 times or this define what is going to be
two times.
So the word was an array of continuous in hexadecimal.
So if you want to declare X. Yeah, yeah, yeah, I've gotten the names, you know, reiterate your
candidates who just six times twenty the number of times you need to repeat and then you just simply
declare the very different.
And yet so don't confuse guys now will be willing to do it.
And then we will inspect the variable values under the debugger.
So now know, I'm going to create a file called data types.
And then, as usual, I'm going to say, Grober underscore.
And now we are going to define the data section.
And no, we will declare some variables, so where one can't define, but we are going to define.
One.
And then where to?
Defined world said one, two.
Three, four.
It's closer to whites and they're three different our world.
One, two, three, four, five, six, seven, eight.
Now, in the previous video, we have to create the message which contains or so in a similar way,
we define message.
And it shows the whites of her world.
Now, in the like in the previous year, we will also be creating not Lenta.ru available.
Darwin's current injections, minus the message so it gives the message not discuss this matter, will
only works if these two instructions are next.
Next.
One by one.
So if there is another instructions in between these two, then this land will not be correct.
And then we had variable four times as let's say, I'm going to create the debates of the debates of
zero X yet.
So we have created our data section and declared somewhere it was not just for.
Now, I'm going to create the text section and I'm going to start the start function.
Since the start of our program.
And just we are not going to write any code here, but we will be writing all you system, that is a
system called.
Now we need to put the exact number in your eggs, which is one, and then the exit of the euro in the
works, and then finally Karda in software.
And so let me save this file.
Now, let's compare this using nasal.
Now wielding the object for using only.
So let's now let's run our program so it does not print anything because we did not write the code for
printing something, it's just a glitch.
Normally not we will load this binary into the GDP.
Now, as you can see, I have already read the purple again, if you skip the previous video, just
watch that I haven't showed the proper recognition for the YouTube.
Now I'm going to say it in four functions.
Now, as you can see, there is a stark function now let's try to disassemble.
Now, it contains only three injections because the yogurt section and we are going to run this story,
Heidi, I have to put the break point break.
It underscores the article.
It automatically puts the breakpoint at this address.
No, we to run the program.
As you can see, the next section are the AP.
That is going to be this one.
Now, our where it was has already been defined.
Now to review variables are the variables, let's say, in four variables.
Now, as you can see, these are these are different variables where one, two, three and four.
No, we use the examiner to examine these variables, condense further, examine this exercise, and
we need to do three types of format.
First, we need to see how many bites.
I want to print that one bite so no number of contents you want to print and in which that you want
to, like, bite or what else bite.
And then third format is we need to print in which format during the summer or spring or even binary.
So let's hexadecimal and then no, we need to create space for memory location from which we should
examine the memory.
They want to silver one, so now it does matter where one has unknown cash to declare to know what to
do is really to put the ampersands symbol because unperson defines the address of this world.
So it automatically puts this address here.
And if we run this one, we get our popularity open.
New terminal.
OK, now I will.
You can see where one contains the value one, because we have to ask for one number of bytes and then
I want to show you it hexadecimal.
That's why it has put it at the hexadecimal, if I want to say to Bite's.
To wait, so we have got the one and we have got the three four, so from where this three, four has
come, it means that this report belongs to the world, to where it will to at least one, two, three,
four.
But it Malorie, it will be a little Runion order.
So this one, two, three, four, three, four to one.
So after the verbal one zero one, the next bit going to be is that three, four and one, two.
Now, I will show you that also, as I said, three bytes from the memory location of where we get this
variable one and also the next bite of where will do.
And then also remaining Batoff variable, too.
So if we can combine this and we we can flip that, we get one, two, three, four.
It's just written in the case you need to worry about.
I have already explained that, beginning with orders.
So as you can see this be one, two, three and so on, are.
Are in the memory lane resort of Nazi ice, I want to print.
Two bites in hexadecimal of to.
As you can see, guys, we have got three, four, one, two, one, two, three, four, because it's
in and right now in the similar way we can.
We can ask for three, which is for whites, for whites in hexadecimal and.
The rest of the world will do what we can see.
We got the one, two, three, four, five, six, seven, eight.
And if we don't know the value, that means if we don't know the length of the variable, we can just
set X and bytes and then Mixu where three.
OK, we have got only one sorry.
Of yes, we have got the only one right now.
We need to bring that message not to do that.
You say it to slash as it stands for strength.
And what they're going to lose is a message and person message.
As you can see, there is hollow water and then there is repeat 30 times, so this repeatedly belongs
to this variable and then the variable for contents 30 years.
We will look into that in a few seconds.
So what if I want to bring each and every bite in a hexadecimal format?
Now I want to see.
Love bites in hugs and message, so I want everybody to be represented in hugs, so as you can see,
it is represented in state index and 1865 and 1868 and 60 and so on, up to 64.
Now we need to fire.
We need you to see the way we fought to do that type exercise and then very well for that debate, Sophia.
So if we see any bites in Heggs, I want and then unperson where we get eNews.
And if we second debate of this, I need from the location, where will I get that 20 years?
And if I say that be I get the 30 years.
So what is it that we want?
We get the way because.
So you can see we got the inaugural address because there is no way it was declared and that that section.
Has filled with knowledge of the world was witnessing.
So this is all about the data types.
So I hope you have understood clearly.