Computer Science, asked by Hiteshi7192, 1 year ago

Write an alp to unpack an 8 bit unsigned bcd number stored in a memory location

Answers

Answered by priyannsh
1
Binary coded decimal (BCD) is a way to express each of the decimal digits with a binary code. This means that each decimal digit, 0 through 9, is represented by a binary code of four bits.

Eg: 98 => 10011000

Unpacking the BCD number is separating each BCD digit.

Eg: 98 can be separated as 09 and 08. So we can say 10011000 [98] is packed and 00001001 [09] & 00001000 [08] are unpacked.

You might like to go through Step by step Process to add two packed BCD Numbers

Similar questions