Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

04-Jun-11

LP TRNH PIC S DNG CCS

PIC Product Selector


http://www.microchip.com/productselector/MCUProductSelector.html Product Family Architecture 5K $ Pricing Flash (KB) EEPROM (Bytes) RAM (KB) CPU Speed (MHz, MPS) Low Power Comparators ADC Channels ADC Bits Total UART PIC16F84 PIC16F87 8 3.11 1.75 64 0.06 [20,5] No 0 0 8 2.06 7 256 0.36 [20,5] Yes 2 0 1 PIC16F690 PIC16F887 dsPIC33FJ128GP P202 8 1.20 7 256 0.25 [20,5] Yes 2 12 10 1 8 1.78 14 256 0.36 [20,5] Yes 2 14 10 1 16 3.44 128 0 8.00 [80,40] Yes 2 10 12 2
2

04-Jun-11

Pht biu lnh (Statement)

return dng tr gi tr v cho hm (v d: return (5); return (x); return (a+b), nu khng cn tr gi tr th ch dng return; break thot khi vng lp while continue quay tr v u vng lp while

Ton t (Operators)
+ += &= & & ^= ^ l= l ?: -/= / == > >= ++ * != Addition Operator Addition assignment operator, x+=y, is the same as x=x+y Bitwise and assignment operator, x&=y, is the same as x=x&y Address operator Bitwise and operator Bitwise exclusive or assignment operator, x^=y, is the same as x=x^y Bitwise exclusive or operator Bitwise inclusive or assignment operator, xl=y, is the same as x=xly Bitwise inclusive or operator Conditional Expression operator Decrement Division assignment operator, x/=y, is the same as x=x/y Division operator Equality Greater than operator Greater than or equal to operator Increment Indirection operator 10 Inequality

You might also like