Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
I've got a short assembler file for the TMS570 that won't assemble. The assembler throws the following error:
line 1: error #171: expected a declaration
I'm not sure what's happening here. If I use this same file with a Cortex-M processor (adding .thumb) it works just fine. Any ideas?
.text .align 2 .syntax unified .global Clz Clz: clz r0,r0 // determine bit position of highest bit set in the 32-bit word bx lr .end