Close

Problem with structured macros on ATxmega128A1

A project log for Hello World from ATxmega128A1

A couple of 'Hello World' examples running on the ATxmega128A1-Xplained development board from Atmel

jacques-pelletierJacques Pelletier 03/22/2021 at 06:410 Comments

There seems to have a problem with the structured macro expansion. The list file shows correct expansion but when running a program, it doesn't work. When replacing the structured macros with normal instructions, the program runs fine.

By comparing the hex files, the jump labels generated by the structured macros are not adjusted correctly by the assembler and jump to the wrong places.

Discussions