Interrupts

Reply

Join Date: May 2005
Posts: 1
Reputation: 992982386 is an unknown quantity at this point 
Solved Threads: 0
992982386 992982386 is offline Offline
Newbie Poster

Interrupts

 
0
  #1
May 30th, 2005
Can anyone help me understand how to implement interrupts on a Motorola processor? Is there a preset list of possible interrupts and I choose them by setting certain control bits in preset registers? For example, how would I write a program to enter a routine whenever I pulse a high signal (using a push button switch on a breadboard) to one of the pins of the processor? I would also like the same button to stop the routine. Some sample code would be appreciated also.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 121
Reputation: tonakai is an unknown quantity at this point 
Solved Threads: 11
tonakai's Avatar
tonakai tonakai is offline Offline
Junior Poster

Re: Interrupts

 
0
  #2
Jun 12th, 2005
i didn't use motorola, but interrupts don't change much from chip to chip i think.
so if you want to make an interrupt, then you need to connect your button to an interrupt pin, then you need to write your code in the proper location of memory. that's all i think.
another way in 80x86 series chip that you signal to IR pin (interrupt request), then send your interrupt address (which your code is located) to the databus.
in motorola they will be similar, i think.
Good news, everyone!
aykutsoysal.com
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC