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

The input output system - stepper motor , The Input Output System The ...

The Input Output System The input output  system provides  the physical  connection between  the equipment  and the PLC there are many  different kinds  of I/O cards  which ser

Show twos complement addition, Q. Can you explain Twos complement addition?...

Q. Can you explain Twos complement addition? 2's Complement Addition Two's complement addition follows the same rules as binary addition. For example, 5 + (-3)  =  2

Issue in sub-transmission and distribution systems, Issue In Sub-Transmissi...

Issue In Sub-Transmission and Distribution Systems The major issue in Sub-transmission and Distribution systems or rather the issue confronting the power sector as an overall,

Illustrate function of ccitt, Level 1 is means of sending bit streams over ...

Level 1 is means of sending bit streams over a physical path. It uses times lot 16 of a 2 M bit/s PCM system or times slot 24 of a1.5 M bit/s system. Level 2 performs functions

Step up chopper - power supplies , Step Up Chopper In this  chopper av...

Step Up Chopper In this  chopper average output  voltage  is greater than  input  voltage. The circuit  different  mode  of operation and  current  waveforms are show. When

Call instructions, Call Instructions Call instruction are used to call ...

Call Instructions Call instruction are used to call a  subroutine program in assembly language  procedure and functions are called  subroutines. There are two types  of calls i

Execute a pspice program to solve for the node voltages, Q. For the circuit...

Q. For the circuit given in Figure, develop and execute a PSpice program to solve for the node voltages.

Electric scooter, Hi there i need help with design battery charger for elec...

Hi there i need help with design battery charger for electric scooter 24v battery. i have to design sechmatic diagram and PCB for it. using Altuim design software many thanks 006

Numerical analysis curve fitting, Ask question #Minimum 100 wThe voltage v...

Ask question #Minimum 100 wThe voltage v across a capacitor at time t seconds is given by the following table. Use the principle of least squares to fit a curve of the form v = ae

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