Daa decimal adjust accumulator instruction , Electrical Engineering

Assignment Help:

DAA Decimal Adjust Accumulator Instruction

This  instruction adjusts the contents  of the accumulator  into BDC (Binary Coded Decimal )  form  after a BCD  addition. It should be  used after ADD, ADI etc instruction if performing  BCD  addition  the  instruction format is

DAA

This is the only instruction which  uses auxiliary carry flag internally.

Flag: All flags  are moodier according  t the result.

 Followings  procedure is used by DAA instruction to convert the contents of th e accumulator from binary  to BCD.

a.If the value of  low order  four bits (D3 -D0)  in the accumulator of the accumulator  9 the instruction adds  6  to the low order four bits.

b.If the value of high  order four bits  (D7-D4)  in the accumulator  is more  than 9 the instruction adds  6 to the high  order four bits

See followings  example to understand the  working  of DAA instruction.


Related Discussions:- Daa decimal adjust accumulator instruction

Mathematics, The two sides of a triangle are 17 cm and 28 cm long, and the ...

The two sides of a triangle are 17 cm and 28 cm long, and the length of the median drawn to the third side is equal to 19.5 cm. Find the distance from an endpoint of this median to

Thunderstrom detector, Ask question #how to construct thunderstrom detector...

Ask question #how to construct thunderstrom detector with circuit breaker.

Explain the action of a pn-junction with bias, Q. Explain the action of a p...

Q. Explain the action of a pn-junction with bias. Consider both the forward bias and the reverse bias, and use sketches wherever possible.

What are the important requirements of a insulating material, What are the ...

What are the important requirements of a good insulating material? Important requirements of good insulating materials:- The necessity of good insulating materials can be cl

Explain fourth group of 32 ascii character code, Explain Fourth group of 32...

Explain Fourth group of 32 ASCII character code? The fourth, and final, group of 32 ASCII character codes are set aside for the lower case alphabetic symbols, five additional

Sub instruction - op code format , SUB Instruction Op code  format is...

SUB Instruction Op code  format is of SUB  instruction is Replace  the three bit code  of the register R from   to obtain the op code of the  required SUB  instruction . o

What are the modes used in keyboard modes, What are the modes used in keybo...

What are the modes used in keyboard modes? 1. Scanned Keyboard mode with 2 Key Lockout. 2. Scanned Keyboard particular Error Mode. 3. Scanned Keyboard with N-key Rollover

Mechanical structure of depletion type mosfet, Mechanical Structure of Depl...

Mechanical Structure of Depletion Type MOSFET The mechanical structure of this type of device is displayed in figure. In an IC, we would locate two n-type regions side by side

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd