Hi Enrik, thanks,
inbuff should be a parameter passed to the macro and not a fixed address.

I have something like this:

Code:
inBuff VAR BYTE[100]
Outbuff VAR BYTE[100]
Testbuff VAR BYTE[200]
etc etc

I want that Inbuff, Outbuff, TestBuff is a parameter of the macro, so the string can be written anywhere