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

Branch operations , Branch Operations Normally  the program  executes ...

Branch Operations Normally  the program  executes in  a sequence. The contents of the program counter register are incremented by  one during  the execution  of current  instr

Explain continuous-data and discrete-data systems, Q. Explain Continuous-da...

Q. Explain Continuous-data and discrete-data systems? A continuous-data system is one in which the signals at various parts of the systemare all functions of the continuous-tim

Engineering, State the different stabilization techniques and compensation ...

State the different stabilization techniques and compensation techniques

Ampere''s theorem, The    French    scientist,    Ampere,    (1775- 1836), ...

The    French    scientist,    Ampere,    (1775- 1836), conducted a series of experiments on the force between current carrying conductors. He found that: force per metre of wire (

Hybrid parameters, Hybrid parameters (or) h - parameters:- If the ...

Hybrid parameters (or) h - parameters:- If the input current that is denoted as i 1 and output Voltage that is denoted as V 2 are takes as independent variables, input v

Stack pointer, stack Pointer (SP) It is also a 16 bit  register and a  ...

stack Pointer (SP) It is also a 16 bit  register and a  memory  pointer similar to  program counter. It holds  the memory  address of the  top of the stack. Stack is a  part of

Applications of semiconductors, Applications of Semiconductors Inte...

Applications of Semiconductors Integrated circuits (ICs) SSI, MSI, LSI, and VLSI. Fluorescent materials used in TV screens II-VI (ZnS). Light detectors InSb, CdSe, Pb

Zinc-blend and si diamond lattice structure, What is the difference between...

What is the difference between a zinc-blend and Si diamond lattice structure?

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