0

I'm trying to compile asm-xml. But I'm getting the following error:

error: illegal instruction.

The affected line is:

section '.asmdata' writeable

Anyone could help me to fix this iisue?

Thank you in advance,

Greetings F

Jens Björnhager
  • 5,632
  • 3
  • 27
  • 47
user897237
  • 613
  • 5
  • 12
  • 25

1 Answers1

2

You're compiling the wrong file. You should be compiling the assembly file that corresponds to your platform, elf.asm or win32.asm. asm-xml.asm is not in itself a complete assembly program.

Jens Björnhager
  • 5,632
  • 3
  • 27
  • 47