1 00:00:02,950 --> 00:00:10,960 Writing entire register for going on we need to mention few notes so that you can understand what we 2 00:00:10,960 --> 00:00:13,920 are going to do in the coding section. 3 00:00:15,290 --> 00:00:23,420 When we write on them but with a prefix 0 B This indicates that this is a binary number a number with 4 00:00:23,450 --> 00:00:35,300 a fixed zero indicates an optimal number while number with a prefix 0 x indicates a hexadecimal number 5 00:00:36,520 --> 00:00:40,760 and number without prefix is a decimal number. 6 00:00:40,820 --> 00:00:46,640 So the default is this one the number. 7 00:00:46,670 --> 00:00:52,430 If we wrote that say balls equals zero this zero will be in December. 8 00:00:52,970 --> 00:01:00,480 But if we wrote poor p equals zero zero zero This means that this is a hexadecimal number. 9 00:01:00,680 --> 00:01:08,330 While if you use prefix 0 this means that the number that we are using is an octal number. 10 00:01:08,960 --> 00:01:10,900 The last thing is 0 B. 11 00:01:11,150 --> 00:01:18,100 Which means the return number afterworld will be probably not the number. 12 00:01:18,110 --> 00:01:22,640 This is a quick example as you can see in decimal it's written 0. 13 00:01:22,960 --> 00:01:24,530 You want to write it in binary. 14 00:01:24,530 --> 00:01:30,950 We must write 0 B and 8 zeros if we want to write these in octal. 15 00:01:30,950 --> 00:01:37,000 We will write 0 0 and hexadecimal we will suffer 0 zero x then zero. 16 00:01:37,100 --> 00:01:39,870 Here we start to do with just a zero. 17 00:01:39,980 --> 00:01:46,420 As you can see next if we want to write one as you can see 1 0 will be then. 18 00:01:46,460 --> 00:01:53,630 Here is the one in binary we have a zero for indicating that this is an octal number. 19 00:01:53,660 --> 00:01:59,590 Then as you can see we have one here and the same case here. 20 00:01:59,660 --> 00:02:05,740 0 x then we have 0 1 and hexa when it comes to a hundred twenty eight. 21 00:02:05,900 --> 00:02:13,210 As you can see we have the prefix the it'll be then the number in binary we have zero here for October. 22 00:02:13,760 --> 00:02:21,880 And we have the number in October we have 0 X and we have 100 28 and hexadecimal. 23 00:02:22,070 --> 00:02:31,310 Here is the first same case when it comes 255 we have zero B for binary then 8 ones indicating the binary 24 00:02:32,150 --> 00:02:37,900 corresponding value for 255 and decimal the same thing here. 25 00:02:37,970 --> 00:02:43,160 0 4 octal then 300 or 77. 26 00:02:43,520 --> 00:02:48,830 And also here we have 0 x and half of and hexadecimal. 27 00:02:48,860 --> 00:02:54,260 Now to make these things even more clear. 28 00:02:55,050 --> 00:02:56,760 OK let me go here. 29 00:02:57,170 --> 00:02:57,850 I want to clear. 30 00:02:57,850 --> 00:02:58,850 I would show this. 31 00:02:58,850 --> 00:02:59,690 I will show you this. 32 00:02:59,700 --> 00:03:04,320 In micro C is the software that we are going to use. 33 00:03:04,430 --> 00:03:08,020 It's called micro-chip pool. 34 00:03:08,270 --> 00:03:12,820 Now if we went down here there is a quick converter as you can see here. 35 00:03:13,220 --> 00:03:19,250 It has the numbers and decimal hexadecimal binary and corruptor. 36 00:03:19,280 --> 00:03:26,010 So if I wrote 0 0 as you can see and hexadecimal it equals 0 0 and by only four zeros. 37 00:03:26,030 --> 00:03:33,830 If I wrote 255 it equals half and 4 8 ones and binary. 38 00:03:33,980 --> 00:03:39,110 So you can use this calculator if you faced a problem. 39 00:03:39,170 --> 00:03:40,470 That's it for this question. 40 00:03:40,490 --> 00:03:44,010 If you have any questions please ask and you are on board. 41 00:03:44,030 --> 00:03:45,870 Thanks for watching. 42 00:03:45,890 --> 00:03:47,220 Happy learning.