Personal taste is personal taste, but if I had a situation where I
attempted to add more to a work area than it could hold, I would want to
be hit on the head by the assembler as hard as possible.

That is my intent. I'm asking for an address in (dynamically allocated) storage (RX-type address) and a length that the macro is allowed to use at that address. I want to make sure the code the macro generates does not write beyond that area. If the area is to short, I want to inform the programmer, via MNOTE about this fact and tell how much storage is needed. This MNOTE will fail a successful assembly.

Under no circumstance must the macro generate code that would write into storage it has not been given and I don't want the error to be caught and displayed only at run time.

As said, I need some time to think about my intent and possible solutions. Its so long I have coded my last macro, I may well be on the wrong track with how I want to implement it. Let's see....

--
Peter Hunkeler

Reply via email to