Search found 5 matches

by jmarple
Fri Feb 17, 2017 5:40 pm
Forum: Q&A
Topic: Assembly A00049 error
Replies: 2
Views: 4590

Re: Assembly A00049 error

Ahh, of course. Thanks for the explanation!
by jmarple
Fri Feb 17, 2017 4:25 pm
Forum: Q&A
Topic: Assembly A00049 error
Replies: 2
Views: 4590

Assembly A00049 error

Hello all, I am currently writing a function in assembly and for certain commands in dual issue mode, I get the following error: Error: A00049 no format matching for instruction: 'st8' Code that can produce this error is: {st8 r0, r7[r1]; add r7, r7, 1} and {ashr r0, r0, r1; nop;} however this compi...
by jmarple
Tue Jun 14, 2016 7:40 am
Forum: Development Tools and Programming
Topic: Passing va_list as a function argument
Replies: 5
Views: 11394

Re: Passing va_list as a function argument

Tricky! Got it working now, thanks for the help. Do you happen to know if these small differences between C and XC are documented anywhere?
by jmarple
Tue Jun 14, 2016 7:00 am
Forum: Development Tools and Programming
Topic: Passing va_list as a function argument
Replies: 5
Views: 11394

Re: Passing va_list as a function argument

I appreciate the fast response. I am using the GUI and when I ran your command, sure enough no compiler errors. After some experimentation, I added a main method to an xc file: foo.xc #include "foo.h" int main() { return 0; } And I run the following command. xcc -c -target=XCORE-200-EXPLOR...
by jmarple
Tue Jun 14, 2016 6:03 am
Forum: Development Tools and Programming
Topic: Passing va_list as a function argument
Replies: 5
Views: 11394

Passing va_list as a function argument

Hello everyone, I have the following code which is trying to accept va_list as an argument: foo.c: #include "foo.h" void foo(va_list arg) { // .. stuff here } foo.h: #include <stdarg.h> void foo(va_list arg); I get the following error when I build on xTimeComposer 14.20 on Ubuntu 15.10 64-...