•
•
•
•
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
![]() |
•
•
Join Date: May 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Assembly Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Hardware Interrupts & 100% CPU usage (Windows NT / 2000 / XP / 2003)
Other Threads in the Assembly Forum
- Previous Thread: antivirus programming in assembly
- Next Thread: FREE Win32 RAD Assembly Tool


Linear Mode