Quote Originally Posted by mister_e View Post
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.
Thanks! I've written ASM programs, but never explored the macro functions. When I said 9Tcy I was looking at the added overhead of jumping in and out of the ASM sub. I was thinking that just to jump-to and return-from takes 4Tcy.