Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Adjusting BCD after multiplication and division

Status
Not open for further replies.

youstron

Newbie level 6
Joined
Mar 5, 2012
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,372
In order to adjust the bcd after multiplication is it necessary it to be a unpacked bcd?cant we adjust the packed bcd after multiplication? may i know do we have any instruction in micro controller 8051 Assembly language to adjust the bcd after multiplication and division , i mean we have DA instruction by which we can adjust to bcd after addition,in similar way do we have any instruction for mul and div? please help me sir
 

ark5230

Advanced Member level 3
Joined
Jun 29, 2009
Messages
858
Helped
163
Reputation
324
Reaction score
140
Trophy points
1,323
Location
India
Activity points
6,145
Re: Bcd adjustment query

DA_01.jpg

This may give some idea. For situations like described, some tricks like dummy additions could be used.
 

youstron

Newbie level 6
Joined
Mar 5, 2012
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,372
Re: Bcd adjustment query

I know about decimal adjust after addition ,but packed bcd decimal adjust after multiplication and division i need
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top