Where should I discuss SD/MMC FAT issues?


Results 1 to 40 of 93

Threaded View

  1. #32
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Shouldn't be more than the amount of NOP. When you call a macro it just paste the macro code, but use another name.

    While it's not the best code efficient, You could also use some self expanding macro by adding an argument, so if you need 2,3 or 10 NOP, it will do it for you automatically. Not sure if you need it here.

    something like
    Code:
    <font color="#000080">ASM
    NOP?C   macro Cin
        local a
    a=0
        while a&lt;Cin
            nop
    a++=1
            endw
        endm
    ENDASM
    </font>
    If you use @ NOP?C 1 it will paste 1 NOP and so on.
    Last edited by mister_e; - 1st April 2008 at 17:12.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Reading and Writing from SD/MMC cards as FAT filesystem?
    By charliez in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd June 2006, 22:26

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