EasyManua.ls Logo

Delta DVP-20PM

Delta DVP-20PM
580 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-47
Additional
rema
rk
The representation of a negative value and its absolute value are described
below.
1. Whether the value in a register is a positive value or a negative value
depends on the leftmost bit in the register. If the leftmost bit in a register is
0, the value in the register is a positive value. If the leftmost bit in a register
is 1, the value in the register is a negative value.
2. The negative value in a register can be converted into its absolute value by
means of the instruction NEG.
00000000000000 01
00000000000000 10
00000000000000 00
(D0)=2
(D0)=1
(D0)=0
11 1
0
(D0)=-1
(D0)=-2
(D0)=-3
1111111111 111
11
1
1111111111111
0
11111111111111
0
(D0)=-4
(D0)=-5
11
1
111111111111
0
1
11111111111110
1
0
0
0
00
0
0
0
0
0000
11
1
0000000000000 01
1
0000000000000 10
(D0)=-32,765
(D0)=-32,766
(D0)=-32,767
1
0000000000000 00
(D0)=-32,768
0
1
1
(D0)+1=32,765
(D0)+1=32,766
(D0)+1=32,767
1
000
000
00
00
000 00
(D0)+1=-32,768
0
000000000
0000
1
0
00
000000
0
00
000 0
1
00000000000000 11
(D0)+1=1
(D0)+1=2
(D0)+1=3
00000000000001 00
(D0)+1=4
00000000000001 10
(D0)+1=5
1111111111111
0
1
0
1111111111111
01 11111111111110
The maximum absolute value is 32,767.

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals