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



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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…