![Omron CJ1G-CPUxx Instructions Manual Download Page 583](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491583.webp)
562
Floating-point Math Instructions
Section 3-15
Description
FSTR(448) expresses the 32-bit floating-point number in S+1 and S
(IEEE754-format) in decimal notation or scientific notation according to the
control data in words C to C+2, converts the number to ASCII text, and out-
puts the result to the destination words starting at D.
The following diagram shows the contents of the 3 control words.
• The content of C (Data format) specifies whether to express the number
in S+1, S in decimal notation or scientific notation.
• Decimal notation
Expresses a real number as an integer and fractional part.
Example: 124.56
• Scientific notation
Expresses a real number as an integer part, fractional part, and expo-
Counter Area
C0000 to C4094
C0000 to C4093
C0000 to C4095
DM Area
D00000 to D32766 D00000 to D32765 D00000 to D32767
EM Area without bank E00000 to E32766 E00000 to E32765 E00000 to E32767
EM Area with bank
En_00000 to
En_32766
(n = 0 to C)
En_00000 to
En_32765
(n = 0 to C)
En_00000 to
En_32767
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to
@ D32767
@ E00000 to
@ E32767
@ En_00000 to
@ En_32767
(n = 0 to C)
@ D00000 to
@ D32767
@ E00000 to
@ E32767
@ En_00000 to
@ En_32767
(n = 0 to C)
@ D00000 to
@ D32767
@ E00000 to
@ E32767
@ En_00000 to
@ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to
*D32767
*E00000 to
*E32767
*En_00000 to
*En_32767
(n = 0 to C)
*D00000 to
*D32767
*E00000 to
*E32767
*En_00000 to
*En_32767
(n = 0 to C)
*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
,IR0 to ,IR15
Area
S
C
D
0000 Hex: Decimal format
0001 Hex: Scientific notation
0002 to 0018 Hex (2 to 24 characters, see note)
0000 to 0007 Hex (see note)
Note: There are limits on the total number of characters
and the number of fractional digits. See Limits on the
Number of ASCII Characters on page 564 for details.
Data format
Total characters
Fractional digits
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 ...