Continue to Site

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
 

Re: Bcd adjustment query

DA_01.jpg

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

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

Back
Top