The vector table allows a client program to access a number of target-dependent services provided by the PROM Monitor. The linkage mechanism for all these services is to jump to an address obtained from the vector table.
For example,
lw t0,TBLBASE lw t0,OFFSET(t0) j t0
Where TBLBASE is a location where the fourth argunment given to a program started with the g command is saved by that program. Code is different by architecture. Example given is Mips.
The following table shows the services that are provided, the arguments that are passed to each service function, and the table offset for each service..
PMON 2000 Vector Table |
||
---|---|---|
Offset | Function | Usage |
0 |
TBD | |
Navigation: Document Home | Document Contents | Document Index