在ARM OMAP3515处理器中除以零异常 [英] divide by zero exception in ARM OMAP3515 processor

查看:204
本文介绍了在ARM OMAP3515处理器中除以零异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用OMAP3515处理器(通用CortexA8器件),但我正在处理异常,但是当给出除以零的指令时,该处理器不会生成任何异常,它不会执行下一条指令. 我想知道是否有任何配置可用于生成零除异常.

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.

推荐答案

Cortex A8不支持整数运算除以零.除了正常的中断和调试异常,唯一的故障例外支持的是数据中止预取中止未定义的指令

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

VFP支持浮点运算的被零除例外,必须通过

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

这篇关于在ARM OMAP3515处理器中除以零异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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