17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PreProcessor<br />

DEC Wa,Wd Wd = Wa – 1<br />

DEC f,W W0 = f – 1<br />

DEC f,F f = f – 1<br />

DEC.B f,F f = f – 1 (byte)<br />

DEC.B f,W W0 = f – 1 (byte)<br />

DEC.B Wa,Wd Wd = Wa – 1 (byte)<br />

DEC2 Wa,Wd Wd = Wa – 2<br />

DEC2 f,W W0 = f – 2<br />

DEC2 f,F f = f – 2<br />

DEC2.B Wa,Wd Wd = Wa – 2(byte)<br />

DEC2.B f,W W0 = f – 2 (byte)<br />

DEC2.B f,F f = f – 2 (byte)<br />

DISI lit14 Disable Interrupts lit14 cycles<br />

DIV.S Wa,Wd Signed 16/16-bit integer divide<br />

DIV.SD Wa,Wd Signed 16/16-bit integer divide (dword)<br />

DIV.U Wa,Wd UnSigned 16/16-bit integer divide<br />

DIV.UD Wa,Wd UnSigned 16/16-bit integer divide (dword)<br />

DIVF Wa,Wd Signed 16/16-bit fractional divide<br />

DO lit14,a Do block lit14 times<br />

DO Wd,a Do block Wa times<br />

ED Wd*Wd,acc,da,db Euclidean Distance (No Accumulate)<br />

EDAC Wd*Wd,acc,da,db Euclidean Distance<br />

EXCH Wa,Wd Swap Wa and Wb<br />

FBCL Wa,Wd Find bit change from left (Msb) side<br />

FEX<br />

ICD Execute<br />

FF1L Wa,Wd Find first one from left (Msb) side<br />

FF1R Wa,Wd Find first one from right (Lsb) side<br />

GOTO a GoTo<br />

GOTO Wd GoTo [Wa]<br />

INC f,W W0 = f + 1<br />

INC Wa,Wd Wd = Wa + 1<br />

INC f,F f = f + 1<br />

INC.B Wa,Wd Wd = Wa + 1 (byte)<br />

INC.B f,F f = f + 1 (byte)<br />

INC.B f,W W0 = f + 1 (byte)<br />

INC2 f,W W0 = f + 2<br />

INC2 Wa,Wd Wd = Wa + 2<br />

INC2 f,F f = f + 2<br />

INC2.B f,W W0 = f + 2 (byte)<br />

INC2.B f,F f = f + 2 (byte)<br />

INC2.B Wa,Wd Wd = Wa + 2 (byte)<br />

IOR lit10,Wd Wd = lit10 | Wd<br />

IOR f,F f = f | Wa<br />

IOR f,W W0 = f | Wa<br />

IOR Wa,lit5,Wd Wd = Wa.|.lit5<br />

89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!