Null statement (NOP or CONTINUE)


Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263

    Default Null statement (NOP or CONTINUE)

    I have occasional need for a null statement, one which effectively does nothing. In assembly, this would be NOP; back in the good (bad?) old days of FORTRAN, it would be CONTINUE.

    I've been defining a dummy byte variable (cleverly called DUMMY) and just using

    DUMMY=0

    Is there a better solution? What, in terms of code space and/or execution time, is best?
    Last edited by RussMartin; - 4th February 2009 at 18:15.
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

Similar Threads

  1. Using SPI
    By The Master in forum Serial
    Replies: 6
    Last Post: - 14th March 2010, 15:37
  2. Trying to build an IR project
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 10th November 2009, 23:48
  3. Hserin
    By [email protected] in forum Serial
    Replies: 11
    Last Post: - 16th December 2008, 18:49
  4. frequency meter in PBP
    By savnik in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 13th June 2007, 06:34
  5. PIC12F675 trouble
    By russman613 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th February 2006, 18:40

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