SON YAZ TIMER1 LCD TEKRAR TUSOKU GOTO CIKAR CLRF SAYI2 INCF SAYI3,F GOTO CIKAR DECF SAYI2,F MOVLW 0AH ADDWF SAYI,F MOVF SAYI,W MOVWF SAYI1 BSF PORTE,1 MOVF SAYI3,W IORLW 030H CALL LCD MOVF SAYI2,W IORLW 030H CALL LCD MOVF SAYI1,W IORLW 030H CALL LCD BCF PORTE,0 MOVLW 081H CALL LCD RETFIE BCF T1CON,0 MOVLW 0BH MOVWF TMR1H MOVLW 0DBH MOVWF TMR1L MOVLW 039H MOVWF T1CON RETURN MOVWF PORTB BSF PORTE,0 MOVLW 03H MOVWF BEK1 MOVLW 0FFH MOVWF BEK2 DECFSZ BEK2,F GOTO $-1 DECFSZ BEK1,F GOTO TEKRAR BCF PORTE,0 RETURN ORG 0100H BSF PCLATH,0 CALL TUSGECIK CLRF PORTA MOVLW B'00000111' MOVWF PORTD CALL GECIK1 BTFSC PORTA,1 GOTO SIRA2 BTFSC PORTA,2 GOTO SIRA3 BTFSC PORTA,0 GOTO SIRA1 BTFSC PORTA,3 GOTO SIRA4 CLRF PORTD İbrahim Türkoğlu, <strong>Fırat</strong> <strong>Üniversitesi</strong> - Elektronik ve Bilgisayar Eğitimi Bölümü, Elazığ- 2010. 148
SIRA1 SIRA2 SIRA4 RETLW 0H BSF PORTD,2 BCF PORTD,1 BCF PORTD,0 BTFSC PORTA,0 RETLW '1' BCF PORTD,2 BCF PORTD,1 BCF PORTD,0 BTFSC PORTA,0 RETLW '2' BCF PORTD,2 BCF PORTD,1 BSF PORTD,0 BTFSC PORTA,0 RETLW '3' GOTO TUSOKU BSF PORTD,2 BCF PORTD,1 BCF PORTD,0 BTFSC PORTA,1 RETLW '4' BCF PORTD,2 BCF PORTD,1 BCF PORTD,0 BTFSC PORTA,1 RETLW '5' BCF PORTD,2 BCF PORTD,1 BSF PORTD,0 BTFSC PORTA,1 RETLW '6' GOTO TUSOKU SIRA3 BSF PORTD,2 BCF PORTD,1 BCF PORTD,0 BTFSC PORTA,2 RETLW '7' BCF PORTD,2 BSF PORTD,1 BCF PORTD,0 BTFSC PORTA,2 RETLW '8' BCF PORTD,2 BCF PORTD,1 BSF PORTD,0 BTFSC PORTA,2 RETLW '9' GOTO TUSOKU BSF PORTD,2 BCF PORTD,1 BCF PORTD,0 BTFSC PORTA,3 RETLW '*' BCF PORTD,2 BSF PORTD,1 BCF PORTD,0 BTFSC PORTA,3 RETLW '0' BCF PORTD,2 BCF PORTD,1 İbrahim Türkoğlu, <strong>Fırat</strong> <strong>Üniversitesi</strong> - Elektronik ve Bilgisayar Eğitimi Bölümü, Elazığ- 2010. 149
- Page 1 and 2:
T.C. FIRAT ÜNĠVERSĠTESĠ TEKNĠK
- Page 3 and 4:
BÖLÜM 7: MPLAB 7.1. MPLAB Program
- Page 5 and 6:
Çevresel üniteler monitör, klavy
- Page 7 and 8:
Günümüz mikrodenetleyicileri oto
- Page 9 and 10:
Aritmetik ve Mantık Birimi:ALU mik
- Page 11 and 12:
64 bit veri yolu 32 bit adres yolu
- Page 13 and 14:
programlar proje dosyalarına dön
- Page 15 and 16:
BÖLÜM 2. MİKRODENETLEYİCİ MİM
- Page 17 and 18:
G/Ç Birimi Örnek 2.2: Mov acc, re
- Page 19 and 20:
Komutlar işenirken bayrak bitlerin
- Page 21 and 22:
Derleme anında paralelizmi tanıya
- Page 23 and 24:
programımızın işlemesi için ge
- Page 25 and 26:
3.3.1. MIPS Başarım Ölçümü MI
- Page 27 and 28:
Burada T-bilinen= Programın biline
- Page 29 and 30:
Aritmetik Ortalama 1 n n süre i i
- Page 31 and 32:
BÖLÜM 4. PIC MİKRODENETLEYİCİL
- Page 33 and 34:
çalışabilir. Örneğin en fazla
- Page 35 and 36:
Bir CPU, yonga dışındaki harici
- Page 37 and 38:
Veri Belleði EEPROM Veri Belleği
- Page 39 and 40:
Akümülatör/Working Register : Ge
- Page 41 and 42:
Program Belleği : Önce bellek kul
- Page 43 and 44:
ÖRNEK 4.1: a) PIC16F877 - 20/P 301
- Page 45 and 46:
Çevrim 1 Çevrim 2 Çevrim 3 Çevr
- Page 47 and 48:
Blok şemadan; 1. Aritmetik ve mant
- Page 49 and 50:
5.4. Çevresel Özellikler - Timer0
- Page 51 and 52:
Şekil 5.8.: Bank seçimi Banklar
- Page 53 and 54:
Şekil 5.10. PIC16F877 Kayıtçı d
- Page 55 and 56:
Şekil 5.11: STATUS Kayıtçısı B
- Page 57 and 58:
5.9. Kesme Kayıtçısı (INTCON) I
- Page 59 and 60:
1 = SSP kesmesine izin verilir. Bit
- Page 61 and 62:
5.13. PIR2 Çevresel Kesme Kayıtç
- Page 63 and 64:
Şekil 5.20: Hedef için PCL komutl
- Page 65 and 66:
Aşağıda örnek olarak, RAM ‟da
- Page 67 and 68:
Bit 9 WRT: Flash program belleğine
- Page 69 and 70:
Yüksek&orta Seviyeli Diller (PIC B
- Page 71 and 72:
6.3. PIC Assembly Dilinde Sık Kull
- Page 73 and 74:
WHILE, ENDW While ifadesinden sonra
- Page 75 and 76:
Süresi MSb LSb Etkisi BYTE Yönlen
- Page 77 and 78:
6.4.4. PIC Assemblyde Sayıların v
- Page 79 and 80:
Örnek 6.19: ANDLW h'03' Bu komutta
- Page 81 and 82:
8-) BTFSS Yazmacın belirlenen biti
- Page 83 and 84:
Tanımı : W yazmacının içeriği
- Page 85 and 86:
Tanımı : GOTO koşulsuz bir sapma
- Page 87 and 88:
22-) MOVF Yazmaç içeriğini hedef
- Page 89 and 90:
Örnek 6.47: RETURN Bu komut uygula
- Page 91 and 92:
Örnek 6.52: SUBWF f, 1 ; komuttan
- Page 93 and 94:
BÖLÜM 7. MPLAB PROGRAMININ KULLAN
- Page 95 and 96:
Şekil 7.4 Yeni proje oluşturma Do
- Page 97 and 98: Şekil 7.11. MPASM arayüzü Bunun
- Page 99 and 100: BÖLÜM 8. PIC PROGRAMLAYICI 8.1. P
- Page 101 and 102: 8.2. PIC Programlayıcı Devresi Ş
- Page 103 and 104: Başla PIC16F877 tanıt PortB çık
- Page 105 and 106: MOVLW h „FF‟ ; W kayıtçısın
- Page 107 and 108: LIST p=16F877 INCLUDE “p16F877”
- Page 109 and 110: LIST p=16F877 INCLUDE “p16F877”
- Page 111 and 112: LIST P16F877 INCLUDE “P16F877.INC
- Page 113 and 114: LIST P16F877 INCLUDE “P16F877.INC
- Page 115 and 116: 9.4. Bit Kaydırma Bit kaydırma ko
- Page 117 and 118: LIST P16F877 INCLUDE “P16F877.INC
- Page 119 and 120: Örnek 9.13: 7 segmentli display ü
- Page 121 and 122: Kesme ile alt programın karıştı
- Page 123 and 124: Kesme kullanılırken; PCL, Status
- Page 125 and 126: BASLA TEST YAK_LED1 LIST P16F877 IN
- Page 127 and 128: LIST PIC16F877 INCLUDE “pic16f877
- Page 129 and 130: Yukarıdaki A,B ve C şekillerinde
- Page 131 and 132: AZALT_IS MOVF IS,W MOVWF ISGEC GOTO
- Page 133 and 134: Bu deney PIC lab kartında denenmek
- Page 135 and 136: Movlw 0x30 Addwf BIRLER,1 Addwf ONL
- Page 137 and 138: #define PB16 BUTON916,7 ButonKontro
- Page 139 and 140: ButonTitresimGecikmesi Movlw 0x40 M
- Page 141 and 142: BASLANGIC ANADONGU VERİAL VERİHAZ
- Page 143 and 144: ILERI GERI DEVAM SIFIR GORUNTULE GO
- Page 145 and 146: OKU OKU2 MOVLW 030H MOVWF OPTION_RE
- Page 147: KONTROL TOP1 TOP2 INTRR CIKAR SUBWF
- Page 151 and 152: *1adet 16f877 pic *2 adet güç tra
- Page 153 and 154: #INCLUDE "P16F877.INC" SAY1 EQU 021
- Page 155 and 156: SAT3 SAT4 BTFSC PORTC,7 RETLW .8 MO
- Page 157: INCF CURSOR BSF PORTD,RS CALL LCD_E