Writing entire register for going on we need to mention few notes so that you can understand what we
are going to do in the coding section.
When we write on them but with a prefix 0 B This indicates that this is a binary number a number with
a fixed zero indicates an optimal number while number with a prefix 0 x indicates a hexadecimal number
and number without prefix is a decimal number.
So the default is this one the number.
If we wrote that say balls equals zero this zero will be in December.
But if we wrote poor p equals zero zero zero This means that this is a hexadecimal number.
While if you use prefix 0 this means that the number that we are using is an octal number.
The last thing is 0 B.
Which means the return number afterworld will be probably not the number.
This is a quick example as you can see in decimal it's written 0.
You want to write it in binary.
We must write 0 B and 8 zeros if we want to write these in octal.
We will write 0 0 and hexadecimal we will suffer 0 zero x then zero.
Here we start to do with just a zero.
As you can see next if we want to write one as you can see 1 0 will be then.
Here is the one in binary we have a zero for indicating that this is an octal number.
Then as you can see we have one here and the same case here.
0 x then we have 0 1 and hexa when it comes to a hundred twenty eight.
As you can see we have the prefix the it'll be then the number in binary we have zero here for October.
And we have the number in October we have 0 X and we have 100 28 and hexadecimal.
Here is the first same case when it comes 255 we have zero B for binary then 8 ones indicating the binary
corresponding value for 255 and decimal the same thing here.
0 4 octal then 300 or 77.
And also here we have 0 x and half of and hexadecimal.
Now to make these things even more clear.
OK let me go here.
I want to clear.
I would show this.
I will show you this.
In micro C is the software that we are going to use.
It's called micro-chip pool.
Now if we went down here there is a quick converter as you can see here.
It has the numbers and decimal hexadecimal binary and corruptor.
So if I wrote 0 0 as you can see and hexadecimal it equals 0 0 and by only four zeros.
If I wrote 255 it equals half and 4 8 ones and binary.
So you can use this calculator if you faced a problem.
That's it for this question.
If you have any questions please ask and you are on board.
Thanks for watching.
Happy learning.