I have written a simple assembly language module which has local data in the default data segment.
The module will be shared by C and PB programs.
I have written it for assembled it using the LARGE model.
The problem is any reference to DGROUP causes PB to generate a "ERROR 507 Invalid link file" when it compiles the $LINK statement.
I am simply trying to load ds with the local data segment.
mov ax, DGROUP ; causes error
mov ds, ax
What is the solution to creating and using a data segment so that PB will $LINK correctly.
Thank you.
------------------
The module will be shared by C and PB programs.
I have written it for assembled it using the LARGE model.
The problem is any reference to DGROUP causes PB to generate a "ERROR 507 Invalid link file" when it compiles the $LINK statement.
I am simply trying to load ds with the local data segment.
mov ax, DGROUP ; causes error
mov ds, ax
What is the solution to creating and using a data segment so that PB will $LINK correctly.
Thank you.
------------------
Comment