This very simple input .asm file throws the following error on 7aa5cba:
src.asm(5) error: Parameter failure
Aborting.
For some reason this ONLY happens when the constant ends with an E. For example: 0xD works, 0xF works. 0x1E fails, 0x2E fails, and so on. I've tried various label names and file addresses, but these don't seem to affect it.
Wrapping the 0xE in parentheses, e.g. .dw (0xE)+testdoes make it work. But this should not be needed for such a simple addition. Furthermore, formatting the constant differently--such as 0Eh or 14--also makes it work.
What also works is adding spaces around the +. However, if you only add a space to the right, e.g. .dw 0xE+ test, then you get a different error (and again this only happens when the constant ends in E):
src.asm(5) error: Directive not terminated
Aborting.
This very simple input .asm file throws the following error on 7aa5cba:
For some reason this ONLY happens when the constant ends with an E. For example:
0xD
works,0xF
works.0x1E
fails,0x2E
fails, and so on. I've tried various label names and file addresses, but these don't seem to affect it.Wrapping the
0xE
in parentheses, e.g..dw (0xE)+test
does make it work. But this should not be needed for such a simple addition. Furthermore, formatting the constant differently--such as0Eh
or14
--also makes it work.What also works is adding spaces around the
+
. However, if you only add a space to the right, e.g..dw 0xE+ test
, then you get a different error (and again this only happens when the constant ends in E):