??? 05/23/07 16:46 Read: times |
#139671 - Back to basics Responding to: ???'s previous message |
Sanjib Roy said:
mov a,#06h
Mov b,#03h anl a,#0fh anl b,#0fh swap a orl a,b Here acc value is 63h Yes - ACC contains a number; You can write than number as 63h or 9910 or 1438 or 11000112 or ninety-nine or IX or any other notation you choose - but the number remains the same! 63h is the number written in hexadecimal (base 16) notation; 9910 is the number written in decimal (base 10) notation; 1438 is the number written in octal (base 8) notation; 11000112 is the number written in binary (base 2) notation; ninety-nine is the number written in words; IC is the number written in Roman numerals; But they all represent the same number! Try it in the Windows calculator: enter any number you like, then press the 'Hex' button to display it in hexadecimal, then the 'Dec' button to display it in decimal, etc, etc Note that it is just the display that's changing - the actual number remains the same! 63 is like dec value. It's no more like a dec value than it's like a hex or octal value! Please See http://www.8052.com/forum/read.phtml?id=117487 - especially the linked Math Forum article! |
Topic | Author | Date |
Dec to Hex Converter. | 01/01/70 00:00 | |
What do you mean? | 01/01/70 00:00 | |
Dec to Hex Converter. | 01/01/70 00:00 | |
Think about it! | 01/01/70 00:00 | |
Dec to Hex Converter. | 01/01/70 00:00 | |
Think about it! | 01/01/70 00:00 | |
Try the code Library | 01/01/70 00:00 | |
Not understand | 01/01/70 00:00 | |
Gee Wiz | 01/01/70 00:00 | |
Olympic sprinting before crawling? | 01/01/70 00:00 | |
You are right, and ... | 01/01/70 00:00 | |
GREAT | 01/01/70 00:00 | |
Dechex | 01/01/70 00:00 | |
I would call this... | 01/01/70 00:00 | |
What is a "4m remote" ? | 01/01/70 00:00 | |
Back to basics | 01/01/70 00:00 | |
Example | 01/01/70 00:00 | |
Conversion![]() | 01/01/70 00:00 |