1
00:00:00,120 --> 00:00:00,820
Hello fellas.

2
00:00:00,840 --> 00:00:01,650
Welcome back.

3
00:00:01,650 --> 00:00:06,660
In this lesson we shall look at the southern TDM my vector table.

4
00:00:06,660 --> 00:00:14,130
The exception of vector table consist of designated addresses an external memory that hold information

5
00:00:14,130 --> 00:00:21,580
necessary to handle an exception an interrupt or other unusual event such as a reset.

6
00:00:21,640 --> 00:00:28,890
You know a good example is what the process does when an interrupt occurs it changes the program counter

7
00:00:28,920 --> 00:00:34,880
to something like 0 x 1 8 and begins fetching instructions from there.

8
00:00:34,930 --> 00:00:41,700
The data addresses that are located at these addresses are actual instructions which we shall take a

9
00:00:41,700 --> 00:00:46,290
look at the next instruction the machine is likely to fetch is the branch instruction.

10
00:00:46,290 --> 00:00:51,180
Assuming you the programmer puts such an instruction address you x 1 8.

11
00:00:51,180 --> 00:00:57,240
Once this branch instruction is executed the process will begin fetching instructions for the interrupt

12
00:00:57,240 --> 00:00:59,870
handler held in the target's address.

13
00:01:00,000 --> 00:01:05,380
The recent exception factor is that memory address 0 0 0 0 0 0.

14
00:01:05,460 --> 00:01:10,920
The system will fetch from this address immediately as it comes out of reset.

15
00:01:10,980 --> 00:01:18,750
We can provide a reset exception handler or we can simply begin our code from here as we shall see later.

16
00:01:18,750 --> 00:01:25,840
I will call you vision which is the the two chain an idea we're going to be using generators startup

17
00:01:25,920 --> 00:01:27,480
reset handler for us.

18
00:01:27,480 --> 00:01:34,140
Dead exception is jumped to various posts on most listed and d the addresses of the various modes listed

19
00:01:34,170 --> 00:01:38,670
with the mode so there is that exception operates in the SBC mode.

20
00:01:38,670 --> 00:01:47,340
The undefined instruction exception operates in the undefined mode the IRR Q interrupts the normal interrupt.

21
00:01:47,340 --> 00:01:50,550
Exception operates in the interrupt mode.

22
00:01:50,670 --> 00:01:57,180
The abort the data abort exception operates in the sports mode.

23
00:01:57,180 --> 00:02:04,110
So when any of these exceptions or care dies the process I jump straight to the respective addresses.

24
00:02:04,140 --> 00:02:09,390
Don't worry my view if you don't understand what exceptions or interrupt are we going to write code

25
00:02:09,420 --> 00:02:11,280
to demonstrate and use them.

26
00:02:11,820 --> 00:02:18,870
So yeah this is this is this an overview of the 70 TDM factor table and I shall see you in the next

27
00:02:18,870 --> 00:02:22,290
lesson as we take a look at the core text M family.
