May 2015

SECTION III - DECIMAL ADJUST INSTRUCTION IN 8051

SECTION III - DECIMAL ADJUST [DA] INSTRUCTION IN 8051

'DA' means decimal adjust. The decimal adjust for addition instruction is designed to correct the BCD addition problems. The decimal adjust instruction will add 6 to the lower nibble or higher nibble if needed. The example below will clarify it.

SECTION II - BINARY CODED DECIMAL NUMBER SYSTEM IN 8051

SECTION II - BINARY CODED DECIMAL NUMBER SYSTEM IN 8051:

BCD Binary Coded Decimal number is used to represent the digital 0 to 9 for number, not binary or hex numbers. Binary representation of 0 to 9 is called BCD. In computer language there are two terms used for BCD numbers. One is unpacked BCD number and the other is packed BCD numbers.

CHAPTER # 5 - ARITHMETIC INSTRUCTIONS IN 8051

CHAPTER # 5 - ARITHMETIC INSTRUCTIONS IN 8051

After completing this chapter, you will be able to perform...

Pages

More From Iamtechnical.com

Facebook Like For Iamtechnical.com !