divide by zero exception in ARM OMAP3515 processor

不想你离开。 提交于 2019-12-12 22:00:26

问题


I am using OMAP3515 processor (Generic CortexA8 Device) for my project, I was working on exception handling but this processor dos not generate any exception when any divide by zero instruction is given , it simply goes not next instruction. I want to know whether any configuration available to generate divide by zero exception.


回答1:


Cortex A8 does not support divide-by-zero for integer operations. Other than normal interrupts and debug exceptions, the only fault exceptions supported are data abort, prefetch abort, and undefined instruction

The VFP supports divide-by-zero exceptions for floating point operations, which must be explicitly enabled via the FPSCR DZE bit.



来源:https://stackoverflow.com/questions/27719441/divide-by-zero-exception-in-arm-omap3515-processor

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!