??? 05/09/07 12:35 Modified: 05/09/07 12:38 Read: times |
#138888 - nope, here is the correction Responding to: ???'s previous message |
It's already been stated many times by persons much more familiar than I, that, if you can't program it in ASM, you can't program it. as fast, and as well
I have seen '51 code done by people, to whom 'assembler' is a city in Russia, which worked. You CAN, actually get the important stuff understanding the chip without knowing one line of assembler. Will that be a more difficult route. certainly. Will there be shortcomings? - certainly. Is it impossible? certainly not. NOW, with the above said, I would NEVER recommend anyone skipping the step of familiarizing with/learning assembler before venturing into programming the '51. So, where you say "do it in assembler" I say, "get what you have working" and also state "if you do not know assembler learn it". I am opposed to 'curing' problems with changing language, if you can not make what you have work, it will not help to change the language, the issues (ignorance of the hardware) are the same. where is the difference in understanding the hardware in these two approached? sbit clkbit = 0xa0; mov dph,pointer mov dpl,pointer+1 movx a,@dptr inc dptr mov P1,a setb clkbit clr clkbit P1 = *pointer; pointer++; clkbit = 1; clkbit = 0; Erik |
Topic | Author | Date |
external interrupt using by keypad encoder 74c922 | 01/01/70 00:00 | |
that code does not compile | 01/01/70 00:00 | |
it is wotking now... | 01/01/70 00:00 | |
reply | 01/01/70 00:00 | |
strongly and totally disagree | 01/01/70 00:00 | |
Have you carefully read the datasheet? | 01/01/70 00:00 | |
what good would that do? | 01/01/70 00:00 | |
Apparently, you haven't done that either, Erik | 01/01/70 00:00 | |
Misread? | 01/01/70 00:00 | |
922 and 922 | 01/01/70 00:00 | |
Here we go again ... | 01/01/70 00:00 | |
Why ASM | 01/01/70 00:00 | |
Fundamental misconception | 01/01/70 00:00 | |
nope, here is the correction | 01/01/70 00:00 | |
what about, for a change, answering a question? | 01/01/70 00:00 | |
If you can\'t do it in ASM, you can\'t do it at all. | 01/01/70 00:00 | |
LCD Routine take time. | 01/01/70 00:00 | |
it is a good idea, but the problem in another... | 01/01/70 00:00 | |
what an understatement![]() | 01/01/70 00:00 |