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
The following:
dataseg segment data rseg dataseg myvar: ds 1 cseg at 0 mov myvar,#0 nop end
How about posting the smallest complete program that demonstrates the problem?
Wherever the code accesses myvar, e.g.: mov myvar,#0
Where do you get the error?
View all questions in Keil forum