bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C54x


From: Kerry Keal
Subject: C54x
Date: Wed, 9 Jan 2002 21:17:34 -0800

The following are nits, but I thought someone might be interested. They 
concern assembing C54x code. I don't subscribe to this list.

---------------------------------------------------------------------------------
        mac *ar1+,*ar2+,A
which is an illegal opcode because dual data accesses can't use ar1, doesn't 
give an error and decodes into
        mac *ar1+,#0,A,A
---------------------------------------------------------------------------------

        stm #2100h,SP 
gives an error when it should be equivalent to 
        stm #2100,18h

---------------------------------------------------------------------------------
        rpt #2
        st A,*ar2+  ||  ld *ar3+,A
        ld *(coef),T
gives the warning message:
: Warning: Instructions using long offset modifiers or absolute addresses are 
not repeatable. Resulting behavior is undefined.

but I think it should be ok. The following doesn't give any messages:
        rpt #2
        st A,*ar2+  ||  ld *ar3+,A
        nop
---------------------------------------------------------------------------------

Regards,

Kerry

--
A C54x simulator: http://gdspsim.sourceforge.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]