00:04
All right, we want to find the port value for each of these steps.
00:09
First, we've got port b equals in hexadecimal 065.
00:24
We want to right shift that 2.
00:31
So 65 in binary is 0100, 0101.
00:39
And we'll right shift that 2, which means these guys will go away.
00:49
A couple zeros here.
00:53
So that'll end up being 1 and 9.
01:03
So in hex that would be 0x19.
01:09
Or 25 in decimal.
01:11
Okay next we've got port c equals in hex 39 we want to left shift that by 2 so 39 in hex is 0 0 1 1 in binary 1 0 0 1 and we want to left shift that by 2 so get get rid of these guys.
01:56
Add a couple zeros here.
02:00
So that gives us e4.
02:04
This is e.
02:06
This is 4.
02:07
So the answer is in hex e4 decimal 228.
02:22
Okay next we've got port b equals in hex d4 shifted right 3.
02:47
So let's write it in binary...