This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ISEG AT {location defined as EQU}

I would like to have the following code, so I can maintain it easier using EQUs:

{in an include file}
STACKLENGTH  EQU   50

{startup.a51}
             ISEG    AT #(256 - STACKLENGTH)
             DS      STACKLENGTH

This way, I can allocate a fixed stack size and always have it at the top of IDATA. I get a syntax error when I try this. Does anyone have any ideas? I have tried all kinds of combinations of #, (, etc.

0