HI i am debuging a program written in C if i select 12MHz clock for the program There is a timer in the project window showing the time passed and the no of states(machine cycles). Can i rely on the timer for my time calculations???????
have you decided yet whether you use an ide or not? we are waiting impatiently for your next trolling statement!
When I say I use the simulator I am, of course, referring to the simulation I do 'in my head'!
Just like my 'in my head' compilation - I carry out there, but always check the result with the Keil tools to make sure there is something they have done for me to complain about.
As you might be aware, compiling in the head is not too bad. It does get a bit trickier when it comes to linking and creating a hex file :(
Using the IDE is obviously for amateurs and is full of male cow manure!
"Well, there's an blatantly obvious statement worthy of forgetting"
On the contrary - I think that it is a much too common belief that almost all ARM cores behaves the same and that almost all C51 are 1-cycle, 4-cycle, 12-cycle, ... and that no instruction ever deviates from the norm.
I guess his highness can also compile with different optimization settings, unroll loops, do register optimization etc. ? FYI, it is much faster, safer and easier to learn how to write good code for your platform rather than to do what you presumably do.
please refer to the subject of this post.
FYI, it is much faster, safer and easier to learn how to write good code for your platform rather than to do what you presumably do.
Because I do it my way, I have enough time available to do my programming tasks, run my department, save my company a fortune AND still have sufficient time to post messages on forums purporting to be an expert on all things '51 related with a light sprinkling of pomposity, superiority and (some might say) authority.
Roger Mallund.