On Wed, 5 Apr 2006, Don Y wrote:
Sort of like converting to decimal:
digit = value % 10;
value /= 10;
whereas if you were writing it in ASM, both results would
be available to you in the same operation (though, with
access to ASM, you would probably use a faster algorithm!)
Is it appropriate to expect job applicants to be familiar with AAM and
DAA?
Depends on the job they are applying for. If they
are writing code to maintain a manufacturing database,
nope.
If they are writing code to implement a "tape ruler"
(i.e. retractable plastic/steel ruler used in construction)
then most probably. (unless the processor chosen does all
it's arithmetic in BCD!)