A51: error A48: data-address expected

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

More questions in this forum