A couple of 'Hello World' examples running on the ATxmega128A1-Xplained development board from Atmel
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
ATxmega128A1-xplained.tar.bz22 Hello World examples in C, 1 in assembler. Projects can be loaded in CodeBlocks Provided files: udev rule for Linux, structured macros for assemblerx-bzip - 45.13 kB - 03/20/2021 at 18:33 |
|
The problems was a code 18: 18 inches in front of the monitor!
The expansion works fine as expected.
I was using this structure:
_do
;do stuff
_while (cond)
The correct macro in this case would be:
_do
;do stuff
_do_while (cond)
or
_while (cond)
;do stuff
_while_end
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.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates