6 BASIC INSTRUCTIONS
6.1 Comparison Operation Instructions
225
6
• These instructions compare the 32-bit binary data specified by (s1) with the 32-bit binary data specified by (s2), and
according to the result (small, equal, or large), (d), (d)+1, or (d)+2 is turned on.
There is no operation error.
(d)
DCMP
48
49
50
51
(s1) (s2)
(d)
(s2)
(d)
(s1)
(d)+1
(d)+2
(d)+1
(d)+2
X0
X0
Held
Held
Held
Turns on when [(s1), (s1)+1] > [(s2), (s2)+1]
Turns on when [(s1), (s1)+1] = [(s2), (s2)+1]
Turns on when [(s1), (s1)+1] < [(s2), (s2)+1]