To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 1847
  Re: BCD  [DAT]
 
(...) As far as BSD goes; every decimal digit is represented by four binary digits: decimal BCD 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 so that a number like 3725 would be represented by 0011 0111 0010 0101 I've never (...) (27 years ago, 2-Apr-97, to lugnet.robotics.handyboard)
 
  Re: BCD
 
Yeah, it helps alot. Thanks. I guess the half-cary is for adding to the next significant 4 bit word. And the current word, including overflow, is then subtracted by ten (1010), if the half-carry is flaged, to yield the proper BCD word. Is this what (...) (27 years ago, 3-Apr-97, to lugnet.robotics.handyboard)
 
  Re: BCD
 
Mar, The half carry (H) bit in the CCR sets if there is a carry from bit 3 to bit 4: in other words when there is a carry from the low hex digit to the high hex digit. Only the DAA instruction is affected by the state of H. For example: LDAA #$5A (...) (27 years ago, 3-Apr-97, to lugnet.robotics.handyboard)
 
  hbsonar
 
I am trying to run 4 sonar sensors from the HB, and I'm not sure how to go about doing this. I have a copy of the code from the ftp://cherupakha.med...ntrib/kent directory, but I'm pretty bad with assemby language and I'm not sure what I would need (...) (27 years ago, 19-Apr-97, to lugnet.robotics.handyboard)
 
  Re: hbsonar
 
Check out the multiplexing circuit that I designed. It's on the HB webpage. Can't remember the URL, but you will find a link under my URL (see below) via Mouse 'Data'... I'll be happy to correspond with you on this after I've completed my finals (1 (...) (27 years ago, 25-Apr-97, to lugnet.robotics.handyboard)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR