A simple and basic question


Closed Thread
Results 1 to 36 of 36

Hybrid View

  1. #1
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    We? Are you schizophrenic?

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Angry

    your answers.
    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 )

    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 " !!!
    *****************************************

  3. #3


    Did you find this post helpful? Yes | No

    Default

    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

  4. #4
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Wink

    Quote Originally Posted by Ted's View Post
    We? Are you schizophrenic?
    Don't worry about Alain, he doesn't bite, as long as he takes his meds he's fine. But when he forgets to take them

  5. #5
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    Don't worry about Alain, he doesn't bite, as long as he takes his meds he's fine. But when he forgets to take them
    Please muzzle him to be sure he won't bite.
    Last edited by Ted's; - 26th June 2008 at 16:36.

  6. #6
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    Please muzzle him to be sure he won't bite.
    Nah, I think we'll put his medication up to 1000mg of Chlorpromazine

  7. #7
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Wink

    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

  8. #8
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking

    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 " !!!
    *****************************************

  9. #9
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Definitely not schizophrenic.

    Trent Jackson
    ____________
    Undergraduate b.tech

  10. #10
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    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 ...
    Don't ever try pleading insanity Alain, I guarantee it'll backfire as usual.

    Trent Jackson

  11. #11
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by T.Jackson View Post
    Nah, I think we'll put his medication up to 1000mg of Chlorpromazine
    How 'bout we get you 1mg of STFU?

  12. #12
    Ted's's Avatar
    Ted's Guest


    Did you find this post helpful? Yes | No

    Default

    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.

  13. #13
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ted's View Post
    So do you all agree that it is roughly 3uS per loop ...
    Actually, I think they all agree that you should measure it for yourself.

    instruction execution time
    http://www.picbasic.co.uk/forum/showthread.php?t=365

    And I also think that the Rest of the forum agrees that everyone here needs to calm down.
    I have the complaints to back that up.

    Mellow out! Or stop posting.
    <br>
    DT

Similar Threads

  1. Newb Question...
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 2nd January 2009, 21:49
  2. IF question.
    By Steve Matson in forum General
    Replies: 5
    Last Post: - 23rd November 2007, 04:15
  3. Visual Basic 6 question
    By Christopher4187 in forum Off Topic
    Replies: 5
    Last Post: - 3rd July 2006, 14:06
  4. A simple startup question
    By teilhardo in forum General
    Replies: 6
    Last Post: - 7th January 2006, 21:33
  5. simple newb question
    By PICMAN in forum General
    Replies: 13
    Last Post: - 5th February 2005, 03:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts