Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] A couple questions on Software Interrupts

2005-03-01 by Robert Adsett

At 07:36 PM 3/1/05 +0000, Leighton Rowe wrote:
>I haven't played around swi's much but most (if not all) swi_handler
>examples that I've seen were written in straight assembly language
>(some even containing "swi" instructions).
>
>However from lpc User Manual, I noticed that 2 registers VICSoftInt
>& VICSoftIntClear are used to force software interrupts.

I think you are confusing two different things.  The SWI op-code generates 
an exception to the SWI exception handler not the irq exception 
handler.  VICSoftInt is used to generate an IRQ exception which is a 
different beast and will end up being vectored through the VIC as the HW 
interrupts are.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.