I've got a question regarding ADSP-2191 and assembly code.
The point is, I've got some assembly code like the following:
3 jump label_A.end;
5 label_A.end: nop;
So, when the program jumps to the label label_A.end (line 5) then happens something weird (seems like there is no rts command in line 6), but if there is no nop, or if there are a couple of nop command everything is OK. Do I really need the line 5 or not? Where should I place it before or after rts command?
Thanks for help.
Do you only see this behaviour when stepping through your assembly code in the source window, or is the behaviour the same if you change focus the Disassembly Window and step through the actual assembly code?
If it only occurs in the Source window, can you provide a simple example project (including source files and DPJ file) that demonstrates what you are seeing?