BCD time-of-day addition
Wagner Lipnharski email (remove spam text)
I was joking, of course BCD math requires decimal adjust.
But still a problem for the novice that without further warning, will think
that 59h + 2h = 61h.
Having students in this area, you can't imagine things I see.
It took me almost 3 whole days to put the idea of a pointer into someone's
concrete brain. A memory position containing the address of another memory
position, when "data" is in true "address"... for this guy, it simple
doesn't fit. It took me all that time to make him understand that address
is not only what goes to the address lines of the chip, at some instance it
is also data. Difficult concepts for the Hard Head.
Wagner Lipnharski - email: ustr.netwagner
UST Research Inc. - Development Director
http://www.ustr.net - Orlando Florida 32837
Licensed Consultant Atmel AVR _/_/_/_/_/_/
Spehro Pefhany wrote:
http://www.piclist.com hint: The PICList is archived three different
ways. See http://www.piclist.com/#archives for details.
See also: www.piclist.com/techref/microchip/time.htm?key=time
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the