![Omron CJ1G-CPUxx Instructions Manual Download Page 547](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491547.webp)
526
Floating-point Math Instructions
Section 3-15
Description
FLTL(453) converts the 32-bit signed binary value in S+1 and S to 32-bit float-
ing-point data (IEEE754-format) and places the result in R+1 and R. A single
0 is added after the decimal point in the floating-point result.
Signed binary data within the range of –2,147,483,648 to 2,147,483,647 can
be specified for S+1 and S. The floating point value has 24 significant binary
digits (bits). The result will not be exact if a number greater than 16,777,215
(the maximum value that can be expressed in 24-bits) is converted by
FLTL(453).
Example Conversions:
A signed binary value of 16,777,215 is converted to 16,777,215.0.
A signed binary value of –16,777,215 is converted to –15,777,215.0.
Flags
Precautions
The result will not be exact if a number with an absolute value greater than
16,777,215 (the maximum value that can be expressed in 24-bits) is con-
verted.
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants
#00000000 to #FFFFFFFF
(binary)
---
Data Registers
---
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
S
R
R+1
R
S
Floating-point data (32 bits)
Signed binary data (32 bits)
S+1
Name
Label
Operation
Error Flag
ER
OFF
Equals Flag
=
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
Negative Flag
N
ON if the result is negative.
OFF in all other cases.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...