User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 422,960 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,864 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser: Programming Forums
Views: 2452 | Replies: 1
Reply
Join Date: May 2005
Posts: 1
Reputation: 992982386 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
992982386 992982386 is offline Offline
Newbie Poster

Interrupts

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2005
Location: eskisehir
Posts: 121
Reputation: tonakai is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 11
tonakai's Avatar
tonakai tonakai is offline Offline
Junior Poster

Re: Interrupts

  #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!
my blog(turkish) tonakai.blogspot.com
my photography elvowyn.deviantart.com
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Assembly Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Assembly Forum

All times are GMT -4. The time now is 2:52 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC