s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 112

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 7: EMULATION LIBRARY
7.3 Integral Remainder Calculation Library (idiv.lib)
Table 7.3.1 below lists the integral remainder calculation library (idiv.lib) functions.
7.4 Floating-point Calculation Library (fpp.lib)
The fpp.lib library in this package consists of the same functions as the fp.lib floating-point calculation library.
However, the following functions in the fpp.lib have higher operating accuracy than those of the fp.lib.
The functions in the fp.lib discard the digits under the effective range of the fixed-point part, while these four
functions in the fpp.lib calculate the under part and reflect the rounded off results to the LSB of the fixed-point
part.
They are effective when a higher operating accuracy is required in arithmetic functions such as sin, cos and tan.
96
__adddf3, __subdf3, __muldf3, __divdf3
These functions do not check the value of the input register. For this reason, if the R13 register is set to 0, a
zero-division exception occurs in the div0s or div0u instruction in the function.

Integral division
Remainder
Classification

Function name
_ _divsi3
_ _udivsi3
_ _modsi3
_ _umodsi3
Table 7.3.1 Integral remainder calculation library (idiv.lib) functions
Signed integral division
Unsigned integral division
Signed modulo arithmetic
Unsigned modulo arithmetic
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Functionality
%r10
%r10
%r10
%r10
%r12 / %r13
%r12 / %r13
%r12 % %r13
%r12 % %r13
S5U1C33000C MANUAL

Related parts for s5u1c33000c