I am using v6.1.12 of the compiler (I assume that number also applies to the assembler) and it refuses to accept DNUM as a register.
I am building with the -mv=6472 option which it accepts without comment, so it should understand the processor.
cl6x -mv=6472 .\x.asm
".\x.asm", ERROR! at line 23: [E0005] Operand #1 missing: register expected mvc DNUM, b0
Any suggestions?
I have been forced to assemble that instruction by hand to make progress!
I just did some quick testing. I tried entering a bunch of non-existent part numbers, but I never got any messages like "invalid part". It appears that 6472 is interpreted as a 64x device, not a 64x+ device. That's why you get that error. Use -mv6400+ so the compiler knows to compile for 64x+ core.
---------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
I believe the CCSv4 project wizard will set 6740, you may want to try that.
John
If my reply answers your question please mark the thread as answered
Please ignore my suggestion. I thought you were using a 674x device and not 647x. Brad's suggestion should do the trick.
Regards,