WindO/I-NV4 User’s Manual 2-3
1 WindO/I-NV4 Specifications
2
WindO/I-NV4 Features & Basic Operations
Example: Data handling
Data type Storing 0FFF (Hex) in LDR0 Storing FFFF (Hex) in LDR0
UBIN16(W)
0FFF (Hex) is handled as 4095 (Dec). FFFF (Hex) is handled as 65535 (Dec).
BIN16(I)
0FFF (Hex) is handled as 4095 (Dec). Sign bit is 1, so FFFF (Hex) is two’s complement,
handled as -1 (Dec).
Data type
Storing FFFF (Hex) in LDR0, 0FFF (Hex) in LDR1 Storing FFFF (Hex) in LDR0, FFFF (Hex) in LDR1
UBIN32(D)
0FFFFFFF (Hex) is handled as 268435455 (Dec). FFFFFFFF (Hex) is handled as 4294967295 (Dec).
BIN32(L)
The sign bit is 0, so the positive number 0FFFFFFF
(Hex) is handled as 268435455 (Dec).
Sign bit is 1, so two’s complement of the negative
number FFFFFFFF (Hex), handled as -1 (Dec).
Data type Storing 1234 (Hex) in LDR0 Storing F765 (Hex) in LDR0
BCD4(B)
The sign is 1 (Hex), so the binary-coded decimal
value of the positive number 234 (Hex),
handled as 1234 (Dec).
The sign is F (Hex), so the binary-coded decimal
value of the negative number 765 (Hex),
handled as -765 (Dec).
Data type
Storing 5678 (Hex) in LDR0, 1234 (Hex) in
LDR1
Storing 4321 (Hex) in LDR0, F765 (Hex) in
LDR1
BCD8(EB)
The sign is 1 (Hex), so the binary-coded decimal
value of the positive number 2345678 (Hex),
handled as 2345678 (Dec).
The sign is F (Hex), so the binary-coded decimal
value of the negative number 7654321 (Hex),
handled as -7654321 (Dec).
Data type Storing 0000 (Hex) in LDR0, BFA0 (Hex) in LDR1
Float32(F)
bit
bit
15 0
0FFF (Hex)
LDR0
0000111111111111
bit
bit
15 0
FFFF (Hex)
LDR0
1111111111111111
bit
bit
15 0
0FFF (Hex)
LDR0
1111111111110000
+
bit
bit
15 0
FFFF (Hex)
LDR0
1111111111111111
−
bit
31
bit
0
LDR1 LDR0
00001111111111111111111111111111
0FFFFFFF (Hex)
bit
31
bit
0
LDR1 LDR0
1111111111111111111111111111
FFFFFFFF (Hex)
1111
bit
31
bit
0
LDR1 LDR0
00001111111111111111111111111111
0FFFFFFF (Hex)
+
bit
31
bit
0
LDR1 LDR0
11111111111111111111111111111111
FFFFFFFF (Hex)
−
bit
bit
15 0
234 (Hex)
LDR0
+
0001001000110100
bit
bit
15 0
765 (Hex)
LDR0
−
1111011101100101
bit
0
bit
31
2345678 (Hex)
LDR0
LDR1
+
00010010001101000101011001111000
bit
0
bit
31
7654321 (Hex)
LDR0
LDR1
−
00010010001101000101011001111111
bit bit
22 0
bit
31
bit
23
Exponent
LDR0
LDR1
Sign
Significand
10111111101000000000000000000000
0000 (Hex)BFA0 (Hex)
1
01000000000000000000000
01111111
2
-2
= 0.25
2
0
+2
1
+2
2
+2
3
+2
4
+2
5
+2
6
= 127
Negative
−1.25×2
127-127
= −1.25