Toshiba T2N User Manual Page 191

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 190
3. User Data
178 PROSEC T2N
Register
Bit positions
Processable numerical ranges and expression formats are shown
in the following Table.
The numerical value when two complementary expressions are
added together is a value in which the lower 16 bits are all 0.
Example)
In calculation, the 2’s complements of a numerical value can be
found by the operation of inverting each bit of that numerical
value and adding 1.
Example)
(3) BCD
BCD is the abbreviation of Binary Coded Decimal. BCD
expresses 1 digit (0 - 9) of a decimal number by 4 bits of a binary
number. Therefore, 1 register can express the numerical value of
a 4-digit decimal number.
10
3
10
2
10
1
10
0
0111 1111 1111 1111 (Binary) = 32767
(bit inversion)
1000 0000 0000 0001 (Binary)
(add 1)
0000 0000 0000 0000 (Binary) = – 32767
0111 1111 1111 1111 (Binary) = 322767
1000 0000 0000 0001 (Binary) = 322767
1 0000 0000 0000 0000
Numerical Value
(Decimal)
Binary Expression
Hexadecimal
Expression
32767 0111 1111 1111 1111 7FFF
32766 0111 1111 1111 1110 7FFE
∫∫
1 0000 0000 0000 0001 0001
1 0000 0000 0000 0000 0001
– 1 1111 1111 1111 1111 FFFF
∫∫
– 32767 1000 0000 0000 0001 8001
– 32768 1000 0000 0000 0000 8000
(MSB) (LSB)
FEDCBA9876543210
Page view 190
1 2 ... 186 187 188 189 190 191 192 193 194 195 196 ... 271 272

Comments to this Manuals

No comments