Selective generation of clrwdt?


Closed Thread
Results 1 to 6 of 6

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Hi, Henrik

    Could your test be replaced by :

    Code:
    If AnalyzeMode AND ! trigger THEN
        trigged = 1
    Endif
    Alain
    Last edited by Acetronics2; - 12th April 2010 at 19:38.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default

    Yep, that only produces a single clrwdt. On the other hand it produces CALLs to both LNOT and LAND, so two calls = 4 cycles + whatever code is actually in the LNOT and LAND routines. All in all I think it'll be slower than the previous version - unfortunately.

    I know, I'm hard to please.... ;-)

    /Henrik.

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Disassemble program, remove offending clrwdt commands, reassemble program.

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