Example 3) Operation unit: Unsigned 16 bits (US) (SRB (=) ON)
[S1]…DT0 [ S2]…DT1
[i]…US
Flag operations during execution
DT0
DT1
Hexadecimal Unsigned decimal Signed decimal
H 1234 K 4660 K 4660
H 1234 K 4660 K 4660
SRA( > ) SRB( = ) SRC( < )
DT0 = DT1 OFF ON OFF
Example 4) Operation unit: Signed 32 bits (SL) (SRC (<) ON)
[i]…SL [S1]…I0 [S2]…TS0
Flag operation when executed
I0
DT0・DT1
Hexadecimal Unsigned decimal Signed decimal
H 60000000 K 1610612736 K 1610612736
H 85000000 K 2231369728 K -2063597568
SRA( > ) SRB( = ) SRC( < )
I0 < TS0 OFF OFF ON
Example 5) Operation unit: Single-precision floating point real number (SF) (SRA (>)
ON)
[S1]…DT0 [S2]…LD0[i]…SF
Decimal real number
SF -1.234E
00
DT0・DT1
LD0・LD1
Flag operation when executed
SRA( > ) SRB( = ) SRC( < )
DT0・DT1 > LD0・LD1
ON OFF OFF
■
Flag operations
Name Description
SR7
SR8
(ER)
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).
4.1 CMP (Data Compare)
4-4 WUME-FP7CPUPGR-12