5 Applied Instructions and Basic Usage
Additional
remark
The relations between flags and values are shown below.
16-bit addition: Zero flag
Zero flag
Zero flag
-2 -1 0 -32,768、、、 、、-1 0 1 32,767 0 1 2、、、
Borrow fl ag Carry flag
Negative number:
The value of the
highest bit is 1.
Positive number:
The value of the
highest bit is 0.
Zero flag Zero flag
-2 -1 0 -2,147,483,648、、、 、、-1 0 1 2,147,483,647 0 1 2、、、
Borrow flag Carry flag
32-bit addition: Zero flag
Negative number:
The value of the
highest bit is 1.
Positive number:
The value of the
highest bit is 0.
DVP-20PM Application Manual
5-37