Hi, I said "TC1 = bit(AC0,*AR6)" instead of "TC1 = bit(*AR6, AC0)". Actually "TC1 = bit(AC0,*AR6)" worked for register.There is a problem in the online help.The code goes like this: AR6 = #15 TC1 = bit(AC0,*AR6) where i want to test the 15th bit of AC0. This is fine. Thanks everyone for the help. Regards, Gaurav --- Suyog Deshpande <> wrote: > Hello, > > TC1 = bit(*AR6, AC0) comes under "Memory Bit > Test/Set/Clear/Complement" > whereas TC1 = bit(AC0, AR6) comes under "Register > Bit > Test/Set/Clear/Complement. There is a difference > between these instructions. > > Regards, > Suyog. > > ----Original Message Follows---- > From: "Gaurav" <> > To: "'Tim Thorpe'" <> > CC: <> > Subject: RE: [c55x] Re: Possible Bug in CCS-2.1 > assembler??? > Date: Sat, 22 Jun 2002 19:44:42 +0530 > > Hi, > "TC1 = bit(AC0,*AR6)" compiled.This will solve > my problem.But its > clearly > given in the online help (an example is also given > in BSET and BNOT) which > says that "TC1 = bit(AC0,AR6)" should work. > > Thanks and Regards, > Gaurav > -----Original Message----- > From: Tim Thorpe [mailto:] > Sent: Saturday, June 22, 2002 4:22 AM > To: > Subject: [c55x] Re: Possible Bug in CCS-2.1 > assembler??? > > "Gaurav" <> wrote: > > > TC1 = bit(AC0,AR6) > > I've just looked in the manuals and couldn't find > it, but > ISTR what you want might be: > > TC1 = bit(AC0,*AR6) > > Try it and see. > > Tim. > ------------------------ > Tim Thorpe Tel: +44 1223 > 240366 > Fax: +44 > 1223 414402 > ------------------------ > > > _____________________________________ > Note: If you do a simple "reply" with your email > client, only the author of > this message will receive your answer. You need to > do a "reply all" if you > want your answer to be distributed to the entire > group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > To Post: Send an email to > > To Leave: Send an email to > Archives: http://www.yahoogroups.com/group/c55x > > Other Groups: http://www.dsprelated.com > > > ">http://docs.yahoo.com/info/terms/ > Suyog D. Deshpande > Sr. Member of Techincal Staff > HelloSoft, Inc. > 2275 South Bascom Avenue, #408 > Campbell, CA - 95008. > Phone: (408) 879-9552 (Home) > (408) 441-7110 (Work) > Fax: (509)472-1638 > Email: > _________________________________________________________________ > MSN Photos is the easiest way to share and print > your photos: > http://photos.msn.com/support/worldwide.aspx > __________________________________________________ |