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

Compute the number of electrons that pass a given point, Q A wire with n = ...

Q A wire with n = 10 30 electrons/m 3 has an area of cross section A = 1mm 2 and carries a current i = 50 mA. Compute the number of electrons that pass a given point in 1 s, and

Ujt as relaxation oscillator, UJT as relaxation oscillator: The UJT re...

UJT as relaxation oscillator: The UJT relaxation oscillator is shown in fig. it consist of a UJT and a capacitor C which is charged through a variable resistance R when VBB is

Real power sources - overview, We have seen that a practical power source m...

We have seen that a practical power source may be modelled by an ideal constant voltage source in series with a resistor - a Thevenin equivalent circuit Alternati

Jfet ampli?er circuit, Q. For the CS JFET ampli?er circuit of Figure, R D ...

Q. For the CS JFET ampli?er circuit of Figure, R D = 2k and R L = 3k. The JFET with ro = 15 k has a voltage gain A v1 =-4.5 when the entire source resistance is bypassed. Fin

Explain circuit with capacitive load, Circuit with capacitive load Capa...

Circuit with capacitive load Capacitors which obey the relationship of equation are linear capacitors, since the potential difference among the conductive surfaces is linearly

Adi add immediate instruction , ADI Add Immediate  Instruction The  b...

ADI Add Immediate  Instruction The  bit  data specified in the instruction  is  directly  added with  contents of accumulator and result  of operation is stored  in the  accum

Salient features of nep, Salient Features of NEP: Access to electrici...

Salient Features of NEP: Access to electricity: The policy not only envisages access to electricity for all but it also emphasizes in which all consumers, particularly t

\, Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4...

Refer to Figure 100. Assume MKS units. Given: R1= 4, R2=14, R3= 9, I4= 8, I5= 7. Determine: Ieq, Req, and V3.

History - field-effect transistor, History - Field-Effect Transistor: ...

History - Field-Effect Transistor: The principle of field-effect transistors was very first patented by Julius Edgar Lilienfeld in the year 1925 and by Oskar Heil in the year

What is tri-state logic, Three Logic Levels are used and they are High, Low...

Three Logic Levels are used and they are High, Low, High impedance state. The high and low are normal logic levels & high impedance state is electrical open circuit conditions. Tri

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