invalid opcode: fmtnum
Posted: 29 Apr 2013, 21:46
When compiling code containing
I get a compile error Invalid opcode: fmtnum
So the compiler is translating the FormatNum into a line of NBC (I guess...) using the fmtnum function, but then the assembler is not finding the symbol definition??
Apparently I have messed up the installation of bricxcc or the associated libraries, header files, or something.
Could use a bit of help here, since I'm completely new to this.
I have version 3.3, build 3.3.8.9 of bricxcc, and have downloaded firmware 1.31 to the NXT.
Thanks,
John
Code: Select all
lin = FormatNum("WriteResult = %d", lResult);
So the compiler is translating the FormatNum into a line of NBC (I guess...) using the fmtnum function, but then the assembler is not finding the symbol definition??
Apparently I have messed up the installation of bricxcc or the associated libraries, header files, or something.
Could use a bit of help here, since I'm completely new to this.
I have version 3.3, build 3.3.8.9 of bricxcc, and have downloaded firmware 1.31 to the NXT.
Thanks,
John