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

Jfet, JFET The JFET (junction gate field-effect transistor) is a ...

JFET The JFET (junction gate field-effect transistor) is a long channel of semiconductor material, doped to consist of abundance of positive charge carriers (p-type), or

State kirchoff''s current law, State Kirchoff's Current Law Kirchoff's...

State Kirchoff's Current Law Kirchoff's Current Law (KCL) describes at any junction in an electric circuit the total current flowing towards that junction is equivalent to th

Microcontroller - introduction to microprocessors , Microcontroller Mic...

Microcontroller Microcontroller  is also known  as computer  on a chip  this  includes basic  features of microprocessor (ALU Registers  and control circuits ) with  1 k to 2k

Laser beam machining and electron beam melting, Differentiate between LBM a...

Differentiate between LBM and EBM process on the basis of application and limitations.

Cma complement accumulator instruction, CMA Complement Accumulator  Instru...

CMA Complement Accumulator  Instruction Complement the  contents of the accumulator  i e the   accumulator  al once are converted zeros  and all zeros  are converted to  ones.

ELECTRO MAGNETIC INDUCTION, If aluminium and copper pipes are of same lengt...

If aluminium and copper pipes are of same length and diameter ... same magnet dropped through them...in copper it takes more time to come out of other end, i myself have done this.

What is an interrupt, What is an interrupt? An interrupt is either a s...

What is an interrupt? An interrupt is either a software-generated CALL or hardware-generated CALL.

Unconditional call instruction - call instruction , Unconditional Call Inst...

Unconditional Call Instruction CALL ( Unconditional Call) Instructions :This  instruction calls the subroutine program stored at memory  location specified  in the  instruction

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