Unpacking decimal

Unpacking decimalWith, numerical valueComputerAt one of the technique which is expressed at on,BCDIt is defined in the base.Zoned decimal numberAlso it calls, butPack decimalWith appearance, the pack "is not, it is thought as the thing which reaches the point where it is called" "unpacking" in the sense that.

1 column of decimal, is expressed with to the numerical bit of zone bit and 4 columns of 4 columns separately, but as for the last beam of numerical value it is not the zone bit and to judge correct several negative several the sign binary digit in order can allot. Furthermore, as for zone bit,EBCDICSo 15,JIS codeSo the sign binary digit, 12, 13 has been allotted 3, to negative number in correct number.

Table of contents

Zone bit

The zone bit is the cord/code which displays the fact that the data is numerical value. When simultaneously, displaying numerical value with letter, there is a cord/code and compatibility. Therefore, because the cord/code differs depending upon the character code which can handle the computer which has been used compatibility is low.

Structure

Below, +789 when it expresses with EBCDIC as example, structure of unpacking decimal is shown.

11110111 11111000 11001001
Zone bitNumerical bit Zone bitNumerical bit Sign binary digit Numerical bit

Example

+1234 is expressed at unpacking decimal
EBCDIC1111 0001 1111 0010 1111 0011 1100 0100
JIS code0011 0001 0011 0010 0011 0011 1100 0100
-1234 is expressed at unpacking decimal
EBCDIC 1111 0001 1111 0010 1111 0011 1101 0100
JIS code0011 0001 0011 0010 0011 0011 1101 0100

Related item

 

  > Japanese to English > ja.wikipedia.org (Machine translated into English)