Panasonic FP7 Series Command Reference Manual page 250

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

4.1 CMP (Data Compare)
Example 3) Operation unit: Unsigned 16 bits (US) (SRB (=) ON)
[i]...US
[S1]...DT0 [ S2]...DT1
Hexadecimal
DT0
H 1234
DT1
H 1234
Flag operations during execution
DT0 = DT1
Example 4) Operation unit: Signed 32 bits (SL) (SRC (<) ON)
[i]...SL
[S1]...I0
I0
DT0・DT1
Flag operation when executed
I0 < TS0
Example 5) Operation unit: Single-precision floating point real number (SF) (SRA (>)
ON)
[i]...SF
[S1]...DT0 [S2]...LD0
DT0・DT1
LD0・LD1
Flag operation when executed
DT0・DT1 > LD0・LD1
Flag operations
Name
SR7
SR8
(ER)
4-4
Unsigned decimal
K 4660
K 4660
SRA( > )
OFF
[S2]...TS0
Hexadecimal Unsigned decimal Signed decimal
H 85000000
K 2231369728
H 60000000
K 1610612736
SRA( > )
OFF
Decimal real number
SF 1.234E+ + 00
SF -1.234E+ + 00
Description
To be set in the case of out-of-range in indirect access (index modification).
To be set when a non-real number is specified for [S1] or [S2], and the operation unit is a
real number (SF).
Signed decimal
K 4660
K 4660
SRB( = )
ON
K -2063597568
K 1610612736
SRB( = )
OFF
SRA( > )
SRB( = )
ON
OFF
SRC( < )
OFF
SRC( < )
ON
SRC( < )
OFF
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents