Hi, As the C54x DSP's have both hardware and software interrupts, i would like to know why do we need to interrupt the DSP by software.(Because instead of software interrupts we can use JUMP instruction). When do the need of software interrupts arises.? Also I would like to know the differences between hardware and software interrupts. Regards, Sudhi |
|
Query-Interrupts
Started by ●July 3, 2003
Reply by ●July 5, 20032003-07-05
Date: Thu, 3 Jul 2003 14:33:32 +0100 (BST) From: kandi sudheendra <> Subject: Query-Interrupts Hi, As the C54x DSP's have both hardware and software interrupts, i would like to know why do we need to interrupt the DSP by software.(Because instead of software interrupts we can use JUMP instruction). When do the need of software interrupts arises.? Also I would like to know the differences between hardware and software interrupts. Regards, Sudhi REPLY There is a lot of difference between an interrupt call and a function call.Whenever some interrupts occurs all the cpu registers wil be stored in the stack automatically and when it returns from the interrupt again all those will be restored so that it can resume from wherever it started, where as in function call cpu registers are not stored that way.Software interrupts will be useful where u need these kinds of storing of cpu registers are nedded like context switching etc... regards vinodh |