beautypg.com

Delta DVP-ES2 User Manual

Page 192

background image

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g

3 - 7 6

2.

If the operation result exceeds -2,147,483,648, the borrow flag M1021 will be ON.

3.

If the operation result exceeds 2,147,483,647, the carry flag M1022 will be ON

-2

-1

0

-32,768

、 、 、

、 、

-1

0

1

32,767

0

1

2

、 、 、

-2

-1

0

-2,147,483,648

、 、 、

、 、

-1

0

1

2,147,483,647

0

1

2

16-bit instruction:

Zero flag

Zero flag

Zero flag

Borrow flag

the most significant bit
becomes 1 (negative)

32-bit instruction:

Zero flag

Zero flag

Zero flag

the most significant bit
becomes 0 (positive)

Carry flag

Borrow flag

the most significant bit
becomes 1 (negative)

the most significant bit
becomes 0 (positive)

Carry flag

This manual is related to the following products: