17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

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

3. If the operation result exceeds 2,147,483,647, the carry flag M1022 will be ON<br />

16-bit instruction:<br />

Zero flag Zero flag Zero flag<br />

-2、 -1、 0、 -32,768<br />

-1、 0、<br />

1 32,767、 0、 1、<br />

2<br />

Borrow flag<br />

the most significant bit<br />

becomes 1 (negative)<br />

the most significant bit<br />

becomes 0 (positive)<br />

Carry flag<br />

32-bit instruction:<br />

Zero flag Zero flag Zero flag<br />

-2、 -1、 0、 -2,147,483,648<br />

-1、 0、<br />

1 2,147,483,647、 0、 1、<br />

2<br />

Borrow flag<br />

the most significant bit<br />

becomes 1 (negative)<br />

the most significant bit<br />

becomes 0 (positive)<br />

Carry flag<br />

3-76

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!