************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I only remember having responded ONCE to you ... and I do think no one here can give you a precise time as an answer. ( except Fernand REYNAUD's " a certain time" ... Lol )your answers.
End of File for me ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
The best way to get your answer is to compile the code, look at the assembly listing, and compute the time to execute one cycle from that. Then multiply it by the number of cycles the loop is expected to run. You also need to check the PIC assembly code docs to see how long it takes to execute each assembly code. I have done this a lot in order to determine how long my interrupt routines are.
Also I think some of the comments are about the fact that the code sample you gave may not run the way you expect. "A" is not defined so the WEND duration is unknown. Also, A does not change so it is not a good loop control variable.
I wonder if someone has written a program that reads assembler files and tags execution times to all the microcode.
Last edited by falingtrea; - 25th June 2008 at 22:51.
Tim Barr
You'll be a new a man in a couple of weeks Alain ...
Chlorpromazine is used to treat psychotic disorders and symptoms such as hallucinations, delusions, and hostility. Take two tablets twice a day with food.
Side Effects
- Shaking (like Parkinson's Disease)
- Stiffness
- Restlessness
- Problems with sex life
- Decreased appitite
Shocking side effects with Chlorpromazine -- I don't know what's worse, being schizophrenia or taking Chlorpromazine!
But I guess that the good news is that you're not schizophrenic Alain, at least I don't think so ...
Trent Jackson
Hi, Trent
I really admire your knowledge about those border subjects ...
Seems you are really used to psychiatric advice.
One thing is sure : your doubts are really boring ... and have been boring for too long a time.
Sorry not to be one of the SuperTrent's fans ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
falingtrea, thank you for your detailed answer. (Un)fortunately I left assembler behind me a few years ago when I started with PBP. And I would like to not go back.
So do you all agree that it is roughly 3uS per loop as T.Jackson states?
Offtopic:
I am sure that T.Jackson has his reasons to react the way he did.
Coming from his kind of answer compared to all answers in this thread, Acetronics does have mental issues.
It is something between T.Jackson and Acetronics, and you were not invited to be a freeloader, skimask. So stay out of this.
Bookmarks