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

What is a control word, What is a control word? It is a word kept in a ...

What is a control word? It is a word kept in a register (control register) used to control the operation of a program digital device.

Determine the equivalent resistance of circuit, Determine the equivalent re...

Determine the equivalent resistance of circuit: Determine the equivalent resistance of network across the source terminals and find the current drawn from the source.

Load carrying capacities , Task a)    Investigate and describe the sign...

Task a)    Investigate and describe the significance of the following: i.    Slenderness ratio and buckling in columns ii.    Effective length of columns b) Explain Eu

What do you mean by the term procedure, What do you mean by the term proced...

What do you mean by the term procedure? PROC: The PROC and ENDP directives specify the start and end of a procedure. Such directives force structure while the procedure is cle

Multitasking - single processor many users many tasks , Multitasking -  Si...

Multitasking -  Single Processor Many Users Many  Tasks In multitasking or also  called  time sharing  systems  multi  user  more than  one users are sharing  one processor

Var compensators employing flexible ac transmission system, Var Compensator...

Var Compensators Employing Flexible AC Transmission System Devices These are a new generation of VAr compensators which employ solid-state devices (thyristors) for the generati

Explain the effect of magnetic field on superconductors, Explain supercondu...

Explain superconductivity and explain the effect of magnetic field on superconductors. Various metals become superconducting below a temperature that is the characteristic of t

Dc machine, In the conventional dc machine (with a closed continuous commut...

In the conventional dc machine (with a closed continuous commutator winding on its armature), for example, full-wave rectification of the alternating voltage induced in individual

Name the materials used in case of fuses, Name the materials used in case...

Name the materials used in case of Fuses . Also give reasons. Fuses : For rewirable fuses, copper-tin and lead-tin alloy is used. For HRC and cartridge fuses silve

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