I just got around to plugging in my sort of new STK600 and I was playing around with the provided M2560.
I was converting a working program from a ATMEGA16 and it gives me an error that it doesn't like SPSR (also tried SPDR just to see and it didn't like that either.
The line it doesn't like:
SBIS SPSR,SPIF ;LOOP TILL XMISSION COMPLETE
C:\Documents and Settings\Roger\My Documents\STK600.asm(175): error: Operand 1 out of range: 0x2d
I checked the def file and it looks OK.
Sorry to distract anyone from real posts.
Solved it. SBIS only works on the lower 32 I/O registers. ( I hate that )