Hello
I have created a sample project for DSP56F801_60MHz an I am able
to assemble an assembly source file containing following code:
.WHILE x
r1)+ <EQ> #0 DO
nop
.ENDW
This generates following code:
move X
R1)+,A
movei #0,X0
cmp X0,A
bne *+3 ; 0x000006
nop
bra *-5 ; 0x000000
rts
Which from my prospective looks good.
Can you please check which Linker you have specified in the Target Settings Panel?
Did you specify M56800 Linker there?
This is the linker you should use for DSP56801.
I know that structured programming is not supported for DSP56800E Linker.
i.e. you cannot use structured assembler for Hawk II cores.
Also make sure you are not using the .WHILE directive in inline assembler. It is supported in macro assembler only.
I hope this helps.
Crasycat