Division By Zero Exception - ARM ARM1176JZF-S Technical Reference Manual

Table of Contents

Advertisement

22.7

Division by Zero exception

22.7.1
Exception enabled
22.7.2
Exception disabled
ARM DDI 0301H
ID012310
The Division by Zero exception is generated for a division by zero of a normal or subnormal
value. In flush-to-zero mode, a subnormal input is treated as a positive zero for detection of a
division by zero. What happens depends on whether or not the Invalid Operation exception is
enabled.
If the DZE bit, FPSCR[9], is set, the Division by Zero user trap handler is called. The source
and destination registers for the instruction are unchanged in the VFP11 register file.
Clearing the DZE bit disables Division by Zero exceptions. A correctly signed infinity is written
to the destination register, and the DZC flag, FPSCR[1], is set.
Copyright © 2004-2009 ARM Limited. All rights reserved.
Non-Confidential, Unrestricted Access
VFP Exception Handling
22-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents