Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/19/03 21:36
Read: times


 
#56895 - RE: converting 5 bit bdc to hex
Responding to: ???'s previous message
Do you mean 5 digit BCD to hex?
if this was the case then 5 digit bcd max = 99999 decimal using windows calculator to convert it to hex you get 1869F. So you need 17 bits to store it in.
for simplicity you need 3 bytes for each 5 digit BCD input to store it.
If you are pushed for space you can utilize the 6 bits free of the last byte to hold data and save space.
Mahmood



List of 14 messages in thread
TopicAuthorDate
converting 5 bit bdc to hex            01/01/70 00:00      
   RE: converting 5 bit bdc to hex            01/01/70 00:00      
      RE: converting 5 bit bdc to hex            01/01/70 00:00      
   RE: converting 5 bit bdc to hex            01/01/70 00:00      
      RE: converting 5 bit bdc to hex            01/01/70 00:00      
         RE: converting 5 bit bdc to hex            01/01/70 00:00      
         No such thing as 5-bit BCD!            01/01/70 00:00      
   RE: not clear            01/01/70 00:00      
      RE: not clear            01/01/70 00:00      
         RE: not clear            01/01/70 00:00      
         RE: not clear - a valuable lesson            01/01/70 00:00      
         RE: not clear            01/01/70 00:00      
   RE: converting 5 bit bdc to hex            01/01/70 00:00      
      RE: converting 5 bit bdc to hex            01/01/70 00:00      

Back to Subject List