Daa decimal adjust accumulator instruction , Electrical Engineering

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.

Posted Date: 4/5/2013 12:28:31 AM | Location : United States







Related Discussions:- Daa decimal adjust accumulator instruction , Assignment Help, Ask Question on Daa decimal adjust accumulator instruction , Get Answer, Expert's Help, Daa decimal adjust accumulator instruction Discussions

Write discussion on Daa decimal adjust accumulator instruction
Your posts are moderated
Related Questions

Questions: a) One common characteristic of Embedded Systems is that they need to be dependable. Name and describe any three aspects which encompass dependability. b) Name

Draw a graph illustrating how resistivity varies with temperature for an intrinsic semiconductor. b) Gallium nitride, GaN, has an energy gap of 3.36 eV at 300 K. Calculate the w


Q. In plotting a hysteresis loop the following scales are used: 1 cm = 400 At / mand 1 cm=0.3 T. The area of the loop for a certain magnetic material is found to be 6.2 cm 2 . Calc

what are the classifications of fixed resistor?explain

This question is about linear filtering concepts using the built in filtering functions (it is not about edge detection methods). Load the MRI image of Q4 above and perform the

A 100hp,460v,8pole,60hz,star connected 3phase IM runs at 891rpm under full load what is the speed of the rotor field relative to i)rotor structure ii)stator rotating field

1- Φ Half Bridge Inverters 1-Φ bridge  inverter may be  of two  type 1-? half  bridge  and 1-? full  bridge  inverter. 1-? half bridge  inverter with resistive load to explain

List the four instructions which control the interrupt structure of the 8085 microprocessor. DI ( Disable Interrupts ) EI ( Enable Interrupts ) RIM ( Read Interrupt Masks