5 .include "testutils.inc"
25 # Only the lower half of the dividend is used
36 # If the data is divided by zero, OV=1 and the quotient is undefined.
37 # According to NEC, the S and Z flags, and the output registers, are
56 flags sat + c + v + s + z
60 # Zero / (N!=0) => normal
73 # The Z flag is based on the quotient, not the remainder
84 # If the quot and rem registers are the same, the remainder is stored.