Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Interrupt handler with assembly code
PostPosted: Sat May 15, 2010 3:54 am 
Offline

Joined: Thu Apr 22, 2010 11:49 am
Posts: 2
Hi!

Iam trying to program an interrupt handler for AT91SAM7S256 (using Keil ARM compiler). I read some example codes and i don't know why we need an assembly interrupt handler with a C interrupt hander. In this assembly interrupt handler i can understand that these codes are for saving and restoring some registers and change priviledged mode also.

My question is when we have to write an assembly interrupt handler accompany with a C interrupt handler?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron