Vectors

Discussion in 'General Electronics Chat' started by Peytonator, Jul 22, 2009.

  1. Peytonator

    Thread Starter Active Member

    Jun 30, 2008
    105
    3
    Hi there,

    I have a question relating to microprocessors:

    What is a code vector, for example the reset and interrupt vectors? I can't find anything on google or here...can you guide me to some sources please? Is there another name for a "code vector"?

    Thanks :)
     
  2. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
  3. Peytonator

    Thread Starter Active Member

    Jun 30, 2008
    105
    3
    Thx ... another question though: is that not a definition in particular? What is a code vector in general? Also, why is it called a vector?
     
  4. GetDeviceInfo

    Senior Member

    Jun 7, 2009
    1,571
    230
    because the memory location holds a 'pointer' to the code itself. As this 'pointer' can be of varying distance (memory range), using the term 'vector' is appropriate.
     
Loading...