Notes
Notes - notes.io |
INCLUDE <P16F877A.INC>
__CONFIG _CP_OFF &_WDT_OFF &_HS_OSC &_PWRTE_OFF &_LVP_OFF
BIRLER EQU 20H
ONLAR EQU 21H
YUZLER EQU 22H
BINLER EQU 23H
DELAY1 EQU 24H
DELAY2 EQU 25H
DELAY3 EQU 26H
DELAY4 EQU 27H
TEMP EQU 28H
ISTENEN EQU 2AH
TEMP4 EQU 2BH
BANK0 MACRO
BCF STATUS,5
ENDM
BANK1 MACRO
BSF STATUS,RP0
ENDM
START BANK1
MOVLW b'11110000' ;CLRF TRISD ;
MOVWF TRISD
CLRF TRISB ;
CLRF TRISC ;
BANK0
CLRF BIRLER
CLRF ONLAR
CLRF YUZLER
CLRF BINLER
LOOP CLRF BIRLER
CLRF ONLAR
CLRF YUZLER
CLRF BINLER
CALL TUSTARAMA
CALL GOSTER
GOTO LOOP
BASAMAKBUL CLRF ONLAR
CLRF BIRLER
MOVF ISTENEN,W
MOVWF TEMP4
GIT1 BCF STATUS,C
BCF STATUS,Z
MOVLW .10
SUBWF TEMP4,W
BTFSC STATUS,Z
GOTO ESITLIK1
BTFSC STATUS,C
GOTO BUYUKLUK1
MOVF TEMP4,W
MOVWF BIRLER
RETURN
ESITLIK1 INCF ONLAR,F
RETURN
BUYUKLUK1 INCF ONLAR,F
MOVLW .10
SUBWF TEMP4,F
GOTO GIT1
TUSTARAMA
MOVLW B'11110111'
MOVWF PORTD
CALL COUNT
BTFSS PORTD,4
GOTO B2
MOVLW .0
MOVWF ONLAR
MOVLW .5
MOVWF BIRLER
RETURN
B2 BTFSS PORTD,5
RETURN
MOVLW .1
MOVWF ONLAR
MOVLW .6
MOVWF BIRLER
RETURN
GOSTER MOVLW .20
MOVWF TEMP
GOSTER1 MOVLW B'00001000'
MOVWF PORTB
MOVF BIRLER,W
MOVWF PORTD
CALL COUNT
MOVLW B'00000100'
MOVWF PORTB
MOVF ONLAR,W
MOVWF PORTD
CALL COUNT
MOVLW B'00000010'
MOVWF PORTB
MOVF YUZLER,W
MOVWF PORTD
CALL COUNT
MOVLW B'00000001'
MOVWF PORTB
MOVF BINLER,W
MOVWF PORTD
CALL COUNT
RETURN
COUNT MOVLW .1
MOVWF DELAY1
COUNT1 MOVLW .50
MOVWF DELAY2
COUNT2 MOVLW .50
MOVWF DELAY3
COUNT3 DECFSZ DELAY3
GOTO COUNT3
DECFSZ DELAY2
GOTO COUNT2
DECFSZ DELAY1
GOTO COUNT1
RETURN
END
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team