Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incrementing time represented as NBCD format
#10
Quote:Loose, that's nice. Though that's not really in the nbcd format is it?
Depends on the Ada compiler I guess ;-). I could create a record subtype that has both the minutes and seconds inside, but there is no guarantee the compiler would allocate 16 contiguous bits for it (it probably wouldn't). Ada is quite nice for somethings, but utterly horrid for others.

I played around with a bit shifty solution, but yours is pretty tough to beat ;-).
esus saves.... Passes to Moses, shoots, he scores!
Reply


Messages In This Thread
Incrementing time represented as NBCD format - by LooseCaboose - 12-07-2006, 01:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)