We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm having difficulties using MPL (macros) and the C-style preprocessor in A51 (6.12). Whenever I use #define (C-style prepro) to declare something and activate MPL (cmdline opt: MPL; uV2: Project | Options for ... | A51 | MPL), the file won't assemble. (You may want to try this source: --------------------------------- #define just_a_test 25 end --------------------------------) Any known solution to this behaviour? bis die Tage... Mathias
Hi, I found a solution myself... Do not use the cmdline arg MPL or the project setting in uV2. Instead specify, that MPL is to be used, in your source file by the assembler directive $MPL. bis die Tage... Mathias
Hi, enabling MPL within the source file doesn't really help... A51 correctly translates the file, but looses track of the source line-numbers after the first expansion of an MPL-macro; without (meaningful) line-number information, you can't use the source-level debugger :-( Has anybody found a better solution? bis die Tage... Mathias