00:01
This video will determine the address of an entry in a 6x8 row major array.
00:05
I've drawn just a representation on the screen here.
00:09
We are actually looking for the address of entry at 5, 7, or row 5 and column 7.
00:17
So you can do this one of two ways.
00:19
The first way is just to begin figuring out by writing them down.
00:23
So this one, each entry, as two spaces in memory.
00:30
So this would be 52.
00:33
And then just keep going until you get to the correct one.
00:36
Now, also, this can be calculated.
00:39
So if we do that, then we know that we're starting at space 50.
00:44
So we're going to add it to our calculations.
00:46
Now, if we look at our whole, we have eight entries in a row.
00:51
So we know that each takes two, so it's 16 wide.
00:56
So we're going to write that down.
00:58
Now, we're going for row five.
01:00
We're going to multiply by five to get to the correct space...