Thanks guys. This is what I thought too - only one "@" item per line. Maybe I'll just move the I2C files into a "Include I2C.bas". I'll just have to keep track of file locations as I progress from one folder (part of the project) to another.
If I include the full path name of the file, can I get PBP to find it, regardless of where the main program exists? Stupid question, I know it should be ok, just asking.
No, I'm not Superman, but I did stay at a Holiday Inn Express last night!
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
If you use @ NOP?C 1 it will paste 1 NOP and so on.Code:<font color="#000080">ASM NOP?C macro Cin local a a=0 while a<Cin nop a++=1 endw endm ENDASM </font>
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.
No, I'm not Superman, but I did stay at a Holiday Inn Express last night!
Sometime knowing a bit of ASM and MPASM directive is handy. I learned it through Darrel's codeS and postS... it's all it's fault![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks