Omron CS1G/H-CPUxxH Instructions Manual page 583

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Floating-point Math Instructions
Description
562
Area
Counter Area
C0000 to C4094
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)
Indirect DM/EM
@ D00000 to
addresses in binary
@ D32767
@ E00000 to
@ E32767
@ En_00000 to
@ En_32767
(n = 0 to C)
Indirect DM/EM
*D00000 to
addresses in BCD
*D32767
*E00000 to
*E32767
*En_00000 to
*En_32767
(n = 0 to C)
Constants
#00000000 to
#FFFFFFFF
(binary)
Data Registers
---
Index Registers
---
Indirect addressing
,IR0 to ,IR15
using Index Registers
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –()IR15
,IR0 to ,IR15
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.
Data format
Total characters
Fractional digits
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.
• 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-
S
C
C0000 to C4093
En_00000 to
En_32765
(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)
---
0000 Hex: Decimal format
0001 Hex: Scientific notation
0002 to 0018 Hex (2 to 24 characters, see note)
0000 to 0007 Hex (see note)
Section 3-15
D
C0000 to C4095
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)

Advertisement

Table of Contents
loading

Table of Contents