| ??? 06/01/06 12:45 Read: times |
#117487 - Radix notation Responding to: ???'s previous message |
Abhishek Bk said:
So, if I have lernt correctly a decimal number 8 is conventionally written as 0000100 No. This is basic school maths - radix notation, and place position: the left-most digit is the most-significant, and the right-most is the least-significant. When you write the number 123 in decimal (base 10), the '1' is "hundreds", the '2' is "tens" and the '3' is units. Mathematically, that's 1x102 + 2x101 + 3x100 so 8 decimal is 1000 in binary (base 2): 1x23 + 0x22 + 0x21 + 0x20 You should be able to spot from this why it is so common to call the right-most (least-significant) bit "Bit 0"... See http://www.8052.com/forum/read.phtml?id=94478 and http://mathforum.org/library/d...54311.html |
| Topic | Author | Date |
| Another standard problm in Assembly Lang | 01/01/70 00:00 | |
| many ways | 01/01/70 00:00 | |
| lookup table? | 01/01/70 00:00 | |
| yup | 01/01/70 00:00 | |
| hummmm | 01/01/70 00:00 | |
| algorithm! | 01/01/70 00:00 | |
| OK | 01/01/70 00:00 | |
| forget the lookup table | 01/01/70 00:00 | |
| no language dependency | 01/01/70 00:00 | |
| abstraction | 01/01/70 00:00 | |
| Direct Test | 01/01/70 00:00 | |
| did you take it at Grossmont? | 01/01/70 00:00 | |
| Wrong mark | 01/01/70 00:00 | |
| just wonder | 01/01/70 00:00 | |
| homework | 01/01/70 00:00 | |
| No not homework | 01/01/70 00:00 | |
| Bit 3? | 01/01/70 00:00 | |
| Depends | 01/01/70 00:00 | |
| reverse bit numbering | 01/01/70 00:00 | |
| reverse bit numbering: mirror | 01/01/70 00:00 | |
| It's logical... | 01/01/70 00:00 | |
| Thks | 01/01/70 00:00 | |
| Unconventional | 01/01/70 00:00 | |
| Yes, now I know | 01/01/70 00:00 | |
| oops | 01/01/70 00:00 | |
| Radix notation | 01/01/70 00:00 | |
| Why "Standard"? | 01/01/70 00:00 | |
| give it in C | 01/01/70 00:00 | |
| Finally Some Code | 01/01/70 00:00 | |
| formatted | 01/01/70 00:00 | |
| Much nicer | 01/01/70 00:00 | |
| OH boy | 01/01/70 00:00 | |
| No I havent | 01/01/70 00:00 | |
| edited | 01/01/70 00:00 | |
| No Prob | 01/01/70 00:00 | |
| Yes. | 01/01/70 00:00 | |
| try & ask | 01/01/70 00:00 | |
| OK | 01/01/70 00:00 | |
| Many Questions | 01/01/70 00:00 | |
| Q&A | 01/01/70 00:00 | |
| Man! That just made my day! | 01/01/70 00:00 | |
| Revised Code | 01/01/70 00:00 | |
hi abhishek!!! | 01/01/70 00:00 |



