NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io


LIST P=16F877A
INCLUDE <P16F877A.INC>
__CONFIG _CP_OFF &_WDT_OFF &_HS_OSC &_PWRTE_OFF &_LVP_OFF
SAYI0 EQU 20H
SAYI1 EQU 21H
SAYI2 EQU 22H
TEMP EQU 23H
BIRLER EQU 24H
ONLAR EQU 25H
YUZLER EQU 26H
BINLER EQU 27H
TEMP1 EQU 28H
TEMP2 EQU 29H
TEMP3 EQU 2AH
TEMP4 EQU 2BH
ORG 0X00
GOTO START
ORG 0X04
GOTO START
BANK0 MACRO
BCF STATUS, 5
ENDM
BANK1 MACRO
BSF STATUS, 5
ENDM
START BANK1
MOVLW b'11110000'
MOVWF TRISD
CLRF TRISB
BANK0
CLRF BIRLER
CLRF ONLAR
CLRF YUZLER
CLRF BINLER
LOOP CALL GOSTER1
CALL TUSTARAMA
GOTO LOOP

TUSTARAMA MOVLW b'11110111'
MOVWF PORTD
CALL BEKLE
BTFSC PORTD,4
GOTO B2
MOVLW .0
MOVWF ONLAR
MOVLW .1
MOVWF BIRLER
RETURN
B2 BTFSC PORTD,5
GOTO B3
MOVLW .0
MOVWF ONLAR
MOVLW .2
MOVWF BIRLER
RETURN
B3 BTFSC PORTD,6
GOTO B4
MOVLW .0
MOVWF ONLAR
MOVLW .3
MOVWF BIRLER
RETURN
B4 BTFSC PORTD,7
GOTO B5
MOVLW .0
MOVWF ONLAR
MOVLW .4
MOVWF BIRLER
RETURN

B5 MOVLW b'11111011'
MOVWF PORTD
CALL BEKLE
BTFSC PORTD,4
GOTO B6
MOVLW .0
MOVWF ONLAR
MOVLW .5
MOVWF BIRLER
RETURN
B6 BTFSC PORTD,5
GOTO B7
MOVLW .0
MOVWF ONLAR
MOVLW .6
MOVWF BIRLER
RETURN
B7 BTFSC PORTD,6
GOTO B8
MOVLW .0
MOVWF ONLAR
MOVLW .7
MOVWF BIRLER
RETURN
B8 BTFSC PORTD,7
GOTO B9
MOVLW .0
MOVWF ONLAR
MOVLW .8
MOVWF BIRLER
RETURN

B9 MOVLW b'11111101'
MOVWF PORTD
CALL BEKLE
BTFSC PORTD,4
GOTO B10
MOVLW .0
MOVWF ONLAR
MOVLW .9
MOVWF BIRLER
RETURN
B10 BTFSC PORTD,5
GOTO B11
MOVLW .1
MOVWF ONLAR
MOVLW .0
MOVWF BIRLER
RETURN
B11 BTFSC PORTD,6
GOTO B12
MOVLW .1
MOVWF ONLAR
MOVLW .1
MOVWF BIRLER
RETURN
B12 BTFSC PORTD,7
GOTO B13
MOVLW .1
MOVWF ONLAR
MOVLW .2
MOVWF BIRLER
RETURN

B13 MOVLW b'11111110'
MOVWF PORTD
CALL BEKLE
BTFSC PORTD,4
GOTO B14
MOVLW .1
MOVWF ONLAR
MOVLW .3
MOVWF BIRLER
RETURN
B14 BTFSC PORTD,5
GOTO B15
MOVLW .1
MOVWF ONLAR
MOVLW .4
MOVWF BIRLER
RETURN
B15 BTFSC PORTD,6
GOTO B16
MOVLW .1
MOVWF ONLAR
MOVLW .5
MOVWF BIRLER
RETURN
B16 BTFSC PORTD,7
RETURN
MOVLW .1
MOVWF ONLAR
MOVLW .6
MOVWF BIRLER
RETURN


GOSTER MOVLW .100
MOVWF TEMP

GOSTER1 MOVLW b'00001000'
MOVWF PORTB
MOVF BIRLER,W
MOVWF PORTD
CALL BEKLE
MOVLW b'00000100'
MOVWF PORTB
MOVF ONLAR,W
MOVWF PORTD
CALL BEKLE
MOVLW b'00000010'
MOVWF PORTB
MOVF YUZLER,W
MOVWF PORTD
CALL BEKLE
MOVLW b'00000001'
MOVWF PORTB
MOVF BINLER,W
MOVWF PORTD
CALL BEKLE
CLRF PORTB
DECFSZ TEMP, F
GOTO GOSTER1
RETURN
BEKLE MOVLW .4
MOVWF SAYI0
BEKLE0 MOVLW .10
MOVWF SAYI1
BEKLE1 MOVLW .10
MOVWF SAYI2
BEKLE2 DECFSZ SAYI2, F
GOTO BEKLE2
DECFSZ SAYI1, F
GOTO BEKLE1
DECFSZ SAYI0, F
GOTO BEKLE0
RETURN
END
     
 
what is notes.io
 

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

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.