I can't get the display_offset macro (from the manual) to work in my elf file ('format ELF'') :/
it fails with this error:
macros/macros.asm [7] display_offset [1]:
d1 = '0'+ $ shr 12 and 0Fh
error: invalid expression.
I remember having this error some other time, but I cat seem to rememder when (and I can't find any posts about this)... or if I got the answer to it.
I've tried calling the macro from both data and code sections - still same error...
but if I add this line before the display_offset line "display $"
I get this bizzare error:
flat assembler version 1.57
W
_lib.asm [54]:
display_offset
macros/macros.asm [11] display_offset [5]:
if d1>'9'
error: invalid use of symbol.