Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > Microcontrollers 8bit > help breaking d...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 10 Topic 805 of 862
Post > Topic >>

help breaking down number inti 100s 10, 1s

by "Hayley" <hayley.coombs@[EMAIL PROTECTED] > Oct 1, 2007 at 06:07 AM

this is probably easy to do but i cant think how at the moment.

how could i take an 8 bit number in a file and break it down into the 100s
10s and 1s and
put the results into three other files so for example if i had 11001011
which is 203, how can i
put 2 in the hundreds file, 0 in the tens  and 3 in the units file.

would this be done best in a lookup table?

thanks in advance for any advice

Hayley
 




 10 Posts in Topic:
help breaking down number inti 100s 10, 1s
"Hayley" <ha  2007-10-01 06:07:06 
Re: help breaking down number inti 100s 10, 1s
Gilles Kohl <gilles_de  2007-10-01 13:03:14 
Re: help breaking down number inti 100s 10, 1s
Rich Webb <bbew.ar@[EM  2007-10-01 23:19:49 
Re: help breaking down number inti 100s 10, 1s
"Hayley" <ha  2007-10-02 06:34:44 
Re: help breaking down number inti 100s 10, 1s
Gilles Kohl <gilles_de  2007-10-02 11:14:00 
Re: help breaking down number inti 100s 10, 1s
"Hayley" <ha  2007-10-02 15:34:22 
Re: help breaking down number inti 100s 10, 1s
Gilles Kohl <gilles_de  2007-10-03 02:12:25 
Re: help breaking down number inti 100s 10, 1s
"Hayley" <ha  2007-10-03 06:10:08 
Re: help breaking down number inti 100s 10, 1s
"Anthony Fremont&quo  2007-10-03 13:39:57 
Re: help breaking down number inti 100s 10, 1s
"Hayley" <ha  2007-10-03 20:41:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 21:04:16 CST 2008.