Like asm macro's but can be written in basic.
Would not save code size, but would make program shorter and more neat.
Put 1 line in basic code with passed values that inserts the full macro at assembly time.

........something like, not real code

B1 var byte.......
SomeMacro var macro var1,var2, etc
B2 var word
......................

...........creating the macro..................
VBmacro SomeMacro
local var1, var2
variable var1= port.pin, var2= count
some basic code...........
high var1
pause count
etc
endmacro
.................................................. ........

........using macro in some basic code...........................
start:
for a =1 to 50
serout (xxxxxxxx)
count = count +1
SomeMacro (portB.4, 50)
next a
etc....etc

Don