11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

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

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

HI-TECH C Assembly LanguageMacro AssemblerTable 4.4: ASDSPIC operatorsOperator Purpose Example* Multiplication mov #4*33,W0+ Addition bra $+1- Subtraction DB 5-2/ Division mov #100/4,W5= or eq Equality IF inp eq 66> or gt Signed greater than IF inp > 40>= or ge Signed greater than or equal to IF inp ge 66< or lt Signed less than IF inp < 40 >8> > or shr Shift right mov #inp shr 2,W3rol Rotate left DB inp rol 1ror Rotate right DB inp ror 1float24 24-bit version of real operand DW float24(3.3)nul Tests if macro argument is null74

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

Saved successfully!

Ooh no, something went wrong!