FR81 Family
94 FUJITSU MICROELECTRONICS LIMITED CM71-00105-1E
CHAPTER 6 INSTRUCTION OVERVIEW
6.3
● Signed integer word
Signed integer word is represented as consecutive 32 bits. Bit 31 represents the sign bit (S), and "0"
represents positive or zero and "1" represents negative.
● Unsigned integer word
Unsigned integer word is represented as consecutive 32 bits.
6.3.2 Format Used for Floating Point Type Instructions
● Floating point format
The IEEE 754 standard is used for floating point format. A floating point is represented by the following 3
fields.
Using the above-described symbols, floating point (normalized number) is represented by the following
formula. Bias representation with single precision bias is 127, and the double precision bias is 1023.
(-1)
s
× 1.f × 2
(e - bias)
In addition, there are special numbers of not-a-number (NaN), infinity (∞), zero and unnormalized number.
MSB LSB
31 30 0
S
MSB LSB
31 0
Field Symbol Content
Sign bit (Sign) s "0" represents positive, and "1" represents negative.
Exponent (Exponent) e Bias representation with single precision bias of 127, and the
double precision bias of 1023
Fractional bit
(Fraction)
f The fraction represents a number less than 1, but the significant is
1 plus the fraction part.
Signaling NaN (SNaN) e - bias = Emax +1, and MSB of f is 0
Quiet NaN (QNaN) e - bias = Emax +1, and MSB of f is 1
Infinity (+ ∞, - ∞) e - bias = Emax +1, and f is 0
Normalized number e - bias = Between Emin and Emax
Unnormalized number e - bias = Emin -1, and f is not 0
Zero (+0, -0) e, f = 0