We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Using v7.09 a51. Single-file, legacy code myvar equ 02H is used as a memory address. I converted to myvar: ds 1 and get the A48 error. Added dataseg segment data rseg dataseg at top of file and still get error. Thanks, Doug
Where do you get the error?
Wherever the code accesses myvar, e.g.: mov myvar,#0
How about posting the smallest complete program that demonstrates the problem?
The following:
dataseg segment data rseg dataseg myvar: ds 1 cseg at 0 mov myvar,#0 nop end