如何用汇编语言编写isr [英] how to write isr in assembly language

查看:304
本文介绍了如何用汇编语言编写isr的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们尝试在ADSP 21369处理器中生成20Mhz时钟时,我们正在使用汇编语言编写代码,同时执行此代码时会显示错误,即找不到中断调度处理程序。请告诉我如何使用汇编语言编写isr

when we are trying to generate 20Mhz clock in ADSP 21369 processor for that we are writing code in assembly language while executing this code it shows the error i.e interrupt dispatch handler is not found .please tell me how to write isr in assembly language

推荐答案

我不知道这个特定的处理器,但大多数时候你需要初始化一些默认的东西。就像设置一些中断或者在未使用时禁用它们一样。您需要查看数据表以查看默认值。另外,查看一些示例代码。大多数制造商提供示例代码查看链接以获取更多信息。



https://ez.analog .com / thread / 15038 [ ^ ]



祝你好运!
I don't know this specific processor but most times you need to initialize some default stuff. Like setting some interupts or disabling them if unused. You need to check out the datasheet to see what the defaults are. Also, check out some examples code. Most manufacturers provide example code. Check the link for more info.

https://ez.analog.com/thread/15038[^]

Good luck!


这篇关于如何用汇编语言编写isr的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆