1 00:00:00,120 --> 00:00:06,270 So, guys, in this video, we are going to take a look at the large corporations and these operations 2 00:00:06,270 --> 00:00:12,450 are also called bitwise operations because these operations perform on the values by bitwise. 3 00:00:13,380 --> 00:00:17,610 So let's see, the first operation is our operation, actually. 4 00:00:17,630 --> 00:00:25,620 These operations are generated from the largest if you can type in Google the target and get Nannygate 5 00:00:25,620 --> 00:00:26,280 and so on. 6 00:00:26,610 --> 00:00:31,260 These operations are derived from those projects. 7 00:00:32,720 --> 00:00:41,120 I will explain the truth table and we will find out between 11 and nine, so hard truth to police whenever 8 00:00:41,330 --> 00:00:49,730 there is two bits you need to perform the operation, then if there are if they are due enduro, then 9 00:00:49,730 --> 00:00:54,950 only the result will be zero errors in every case, one zero zero one one one. 10 00:00:54,950 --> 00:00:57,920 The result and our operation is one. 11 00:00:58,820 --> 00:01:07,670 So the first condition for our operation is only when the two elements are no. 12 00:01:07,730 --> 00:01:13,820 Let's take a look at how to perform our operation between two numbers, let's say 11 and nine 11. 13 00:01:13,820 --> 00:01:21,320 The binary code, this one zero one one we have seen in the previous videos and the nine is zero one 14 00:01:21,320 --> 00:01:22,210 zero zero one. 15 00:01:22,880 --> 00:01:25,190 So we are going to perform the heart operation. 16 00:01:25,400 --> 00:01:30,480 We can I said these are the Bitlis operations, so let's perform bikeways. 17 00:01:32,950 --> 00:01:34,960 Let's start from right to left. 18 00:01:35,600 --> 00:01:45,250 The recipe is one and one on our operation in the desert and opera, but this one and the one zero, 19 00:01:45,400 --> 00:01:49,690 the resultant are is one zero zero and zero. 20 00:01:49,870 --> 00:01:53,020 As you can see, this is the only case in our truth table. 21 00:01:53,710 --> 00:01:57,490 The result will be the zero errors in every other case. 22 00:01:58,000 --> 00:02:00,220 The result will be one and one one. 23 00:02:00,670 --> 00:02:04,350 The result is one and zero zero zero. 24 00:02:04,780 --> 00:02:08,200 So this is our final output of the operation between our nine. 25 00:02:08,410 --> 00:02:15,640 Now, if we count these one between ninety eight eight plus one eight two, then press one in to 111, 26 00:02:16,120 --> 00:02:17,230 so down to seven. 27 00:02:18,520 --> 00:02:28,720 So that operation between 11 and 97 in the same way we can do the end operation, but the end operation 28 00:02:28,720 --> 00:02:31,840 is the reverse of the order. 29 00:02:32,320 --> 00:02:34,080 It's just like that. 30 00:02:34,810 --> 00:02:40,930 And the truth is, when there are two bits you are comparing, we are you are doing an operation. 31 00:02:41,350 --> 00:02:44,080 If those two bits are only one, then only two one. 32 00:02:44,800 --> 00:02:47,980 Even if one is Geto, then the result will be zero. 33 00:02:51,310 --> 00:02:58,270 We'll take the previous example of and nine zero one zero one one nine zero one zero zero one knowledge 34 00:02:58,510 --> 00:03:01,800 and operation between these two numbers, one one. 35 00:03:01,810 --> 00:03:07,030 The result is one that now we can see here, but is one here. 36 00:03:07,690 --> 00:03:16,780 So since even one zero, then operation gives the result zero and zero zero, obviously zero one one, 37 00:03:16,930 --> 00:03:19,440 then only we get one and zero zero zero. 38 00:03:19,810 --> 00:03:22,800 So the resultant output is zero one zero zero one. 39 00:03:23,350 --> 00:03:28,050 And if we can convert into that dismal 198 plus one two one two nine. 40 00:03:28,810 --> 00:03:31,420 So the operation between seven and nine nine. 41 00:03:33,850 --> 00:03:44,310 The next 26 hour operation, this is exclusive, you are operation, and this trooper will tell us that 42 00:03:44,310 --> 00:03:49,980 the only if two bits are same, then the other 10, Batistuta. 43 00:03:51,340 --> 00:03:58,800 And these two bits are not the same, it means if they are different than the result will be one. 44 00:04:00,070 --> 00:04:08,110 Now let's take this operation and 11 zero one zero one one nine zero one zero zero one no, let's see, 45 00:04:08,200 --> 00:04:08,940 one one. 46 00:04:08,950 --> 00:04:16,180 So since these two bits of the operation will give don't put us zero and the one zero. 47 00:04:16,210 --> 00:04:24,340 So these two are different bits and we can give the we can say that one and zero zero, obviously zero 48 00:04:25,000 --> 00:04:25,960 and one one. 49 00:04:26,260 --> 00:04:29,110 It's zero zero zero. 50 00:04:29,440 --> 00:04:33,220 Because these two, Tarsem, these are this zero. 51 00:04:34,990 --> 00:04:42,280 And if we can see the output, it's only two I'm sorry, I just I have to change this line because I 52 00:04:42,280 --> 00:04:44,900 have covered the previous rate and changed the section. 53 00:04:51,660 --> 00:04:59,880 So I think you now let's move on to the next question that is not operational, so this not instruction, 54 00:05:00,030 --> 00:05:05,220 just props are the bits that means changes the jurors to want and wants to jurors. 55 00:05:05,890 --> 00:05:09,510 This is similar to the ones complaint we have learned in the previous videos. 56 00:05:10,110 --> 00:05:12,720 Now, let's see how that works. 57 00:05:13,410 --> 00:05:22,260 If and if we operate on all these different bits, can this database contains eight bits and this will 58 00:05:22,260 --> 00:05:25,260 convert into the ones eight once we reach two. 59 00:05:26,100 --> 00:05:28,420 And the similarities transforms to. 60 00:05:28,440 --> 00:05:36,270 Yes, and this contains all eight one bits and this will transform to zero and there will be zero in 61 00:05:36,270 --> 00:05:36,930 the same way of. 62 00:05:38,130 --> 00:05:42,210 So the final note operation gives us the result. 63 00:05:42,280 --> 00:05:44,400 FFG Ruggiero on 005. 64 00:05:45,870 --> 00:05:53,970 OK, these are the operations we can perform logical ways and the syntax used to similar way, you can 65 00:05:54,150 --> 00:06:01,920 keep the R and X or not and the resultant destination of should be on the left and the sorted this on 66 00:06:01,920 --> 00:06:06,540 the right set for the operation you need to put on the register. 67 00:06:07,650 --> 00:06:13,440 So now that's going to happen to automation and perform some examples now that we create a file. 68 00:06:19,250 --> 00:06:21,290 Now I'm going to find a global start. 69 00:06:25,750 --> 00:06:28,450 Now, I'm going to write the text section directly. 70 00:06:34,710 --> 00:06:36,780 Now, let's start our start function. 71 00:06:38,810 --> 00:06:41,450 Now, what I'm going to do is I'm going to. 72 00:06:44,310 --> 00:06:44,740 Clear. 73 00:06:44,910 --> 00:06:48,570 I'm going to make sure that the eggs contain zero. 74 00:06:52,190 --> 00:06:54,110 And also contains zero. 75 00:06:56,950 --> 00:07:00,910 Now, let's move some values into X and be X resistors. 76 00:07:05,770 --> 00:07:07,780 Let's show one, two, three, four to years. 77 00:07:10,230 --> 00:07:11,880 And physics only tend to be. 78 00:07:14,680 --> 00:07:16,900 No, we will perform the operation. 79 00:07:23,770 --> 00:07:30,850 So these are operation performed, start our operation between the eggs and bricks and toaster the eggs. 80 00:07:32,710 --> 00:07:36,050 Now, since our eggs, which targets got modified. 81 00:07:36,810 --> 00:07:40,330 That's more than the previous value again. 82 00:07:47,310 --> 00:07:54,010 So are you drawn to Durex one, two, three, four and be six on it to the end of operation? 83 00:08:00,190 --> 00:08:04,570 And we repeat, this is for the extra operation also. 84 00:08:14,720 --> 00:08:22,480 Now, what I'm going to do is more X comma zero x four three zero zero F, like I said in that example, 85 00:08:22,670 --> 00:08:28,730 no, I'm going to say not X, so this will free part of it in this value. 86 00:08:30,500 --> 00:08:36,790 Now, let's say this file, I think of how and return Gartree. 87 00:08:37,460 --> 00:08:39,620 Now let's compare this with an awesome. 88 00:08:52,550 --> 00:08:54,680 Now link this Arctic for Vitaly. 89 00:09:06,300 --> 00:09:15,120 Since we are not printing our any or our addicts, normally, no, I'm going to open this one in the 90 00:09:15,600 --> 00:09:16,490 GDP debugger. 91 00:09:22,260 --> 00:09:24,810 Now, let's put a break point at the start function. 92 00:09:27,930 --> 00:09:28,730 On our program. 93 00:09:32,650 --> 00:09:38,350 Now, as you can see, the fashion section is going to be more Yank's comments, you know, already 94 00:09:39,190 --> 00:09:45,080 we are just double checking our make sure making sure that you can zero. 95 00:09:46,030 --> 00:09:51,040 So then so the next injection will be the comma zero. 96 00:09:52,750 --> 00:09:56,380 And this year, one, two, three, four. 97 00:09:56,380 --> 00:09:57,470 Most one copies. 98 00:09:57,580 --> 00:09:59,430 One, two, three, four volume, two x register. 99 00:10:01,020 --> 00:10:10,500 As you can see, no one, two, three, four, and we are moving the forensics on it in two weeks and 100 00:10:10,500 --> 00:10:16,540 this is your expertise on it now let's perform the operation between you and Buycks. 101 00:10:18,530 --> 00:10:21,980 Now, if I turn to this intersection is going to be executed. 102 00:10:24,490 --> 00:10:29,660 So as you can see, the operation has been performed and we got down, put five, six, seven C. 103 00:10:31,070 --> 00:10:38,870 Now we can make sure the answer is correct or not, will go open a calculator and let's find out. 104 00:10:43,130 --> 00:10:43,910 So one 105 00:10:47,900 --> 00:10:55,840 and one, two, three, four hour operation by six on it, since I'm already in hexadecimal format, 106 00:10:56,120 --> 00:10:57,980 I don't need to put that. 107 00:10:57,980 --> 00:11:03,490 You know, if you're a good dancer, five, six and see which is not yet reached. 108 00:11:04,340 --> 00:11:11,840 So in a way like this, you can verify the answers if you have any doubt. 109 00:11:14,280 --> 00:11:21,700 Now, in a similar manner, we are going to move that one, two, three, four to six so you can direct 110 00:11:21,720 --> 00:11:29,280 one, two, three, four and five, six on it are performing an operation and operation between the 111 00:11:29,280 --> 00:11:38,010 X and B X only the that which will be zero and three, even one bit is zero. 112 00:11:38,020 --> 00:11:41,280 Then the result will be zero as it will be one. 113 00:11:43,200 --> 00:11:49,310 So we got down to one, two, three, zero, and again, no more than one, two, three, four hexadecimal 114 00:11:49,700 --> 00:11:50,610 to the Eagles. 115 00:11:51,060 --> 00:12:00,140 Now we are performing that operation, but you guys know that the next U.S. XRX come up because it will 116 00:12:00,150 --> 00:12:00,930 perform the. 117 00:12:03,500 --> 00:12:11,710 Real presidential safety, not X, no warning that directs everything to the reactor. 118 00:12:13,850 --> 00:12:15,960 OK, OK. 119 00:12:17,940 --> 00:12:21,520 OK, I forgot to put the zero zero. 120 00:12:21,550 --> 00:12:30,480 OK, and if we do not, we can see this this this attorney, PFG Rosero, in the previous step, we 121 00:12:30,550 --> 00:12:33,340 we have seen the effect, but it's if. 122 00:12:35,880 --> 00:12:45,000 And it has shown only that last year, but I mean, yes, expert, but actually to do it if and if we 123 00:12:45,480 --> 00:12:48,180 operate another operation, we have got the result, FFG. 124 00:12:49,740 --> 00:12:52,260 So that's what this logical instructions. 125 00:12:52,290 --> 00:12:53,790 I hope you guys.