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
COUNT1 EQU 20h
COUNT2 EQU 21h
COUNT3 EQU 22h
COUNT4 EQU 2Ch
BIRLER EQU 24h
ONLAR EQU 25h
YUZLER EQU 26h
BINLER EQU 27h
TEMP1 EQU 28h
TEMP2 EQU 29h
TEMP3 EQU 2Ah
TEMP4 EQU 2Bh
TEMP5 EQU 2Dh
TEMP EQU 2Eh

GOTO START

BANK0 MACRO
BCF STATUS,5
ENDM
BANK1 MACRO
BSF STATUS,5
ENDM


START BANK1
MOVLW b'11110000'
MOVWF TRISD
CLRF TRISB
MOVLW .0
MOVWF BIRLER
MOVLW .0
MOVWF ONLAR
MOVLW .0
MOVWF YUZLER
MOVLW .0
MOVWF BINLER
BANK0

LOOP
CALL TUSTARAMA
CALL GOSTER
CLRF TRISB
GOTO LOOP

TUSTARAMA MOVLW b'11110111'
MOVWF PORTD
CALL DELAY
BTFSC PORTD,4
GOTO B2
MOVLW .0
MOVWF ONLAR
MOVLW .1
MOVWF BIRLER
RETURN

B2
CALL DELAY
BTFSC PORTD,5
GOTO B3
MOVLW .0
MOVWF ONLAR
MOVLW .2
MOVWF BIRLER
RETURN
B3
CALL DELAY
BTFSC PORTD,6
GOTO B4
MOVLW .0
MOVWF ONLAR
MOVLW .3
MOVWF BIRLER
RETURN
B4
CALL DELAY
BTFSC PORTD,7
GOTO B5
MOVLW .0
MOVWF ONLAR
MOVLW .4
MOVWF BIRLER
RETURN
B5 MOVLW b'11111011'
MOVWF PORTD
CALL DELAY
BTFSC PORTD,4
GOTO B6
MOVLW .0
MOVWF ONLAR
MOVLW .5
MOVWF BIRLER
RETURN
B6
CALL DELAY
BTFSC PORTD,5
GOTO B7
MOVLW .0
MOVWF ONLAR
MOVLW .6
MOVWF BIRLER
RETURN
B7
CALL DELAY
BTFSC PORTD,6
GOTO B8
MOVLW .0
MOVWF ONLAR
MOVLW .7
MOVWF BIRLER
RETURN
B8
CALL DELAY
BTFSC PORTD,7
GOTO B9
MOVLW .0
MOVWF ONLAR
MOVLW .8
MOVWF BIRLER
RETURN
B9 MOVLW b'11111101'
MOVWF PORTD
CALL DELAY
BTFSC PORTD,4
GOTO B10
MOVLW .0
MOVWF ONLAR
MOVLW .9
MOVWF BIRLER
RETURN
B10
CALL DELAY
BTFSC PORTD,5
GOTO B11
MOVLW .1
MOVWF ONLAR
MOVLW .0
MOVWF BIRLER
RETURN
B11
CALL DELAY
BTFSC PORTD,6
GOTO B12
MOVLW .1
MOVWF ONLAR
MOVLW .1
MOVWF BIRLER
RETURN
B12
CALL DELAY
BTFSC PORTD,7
GOTO B13
MOVLW .1
MOVWF ONLAR
MOVLW .2
MOVWF BIRLER
RETURN
B13 MOVLW b'11111110'
MOVWF PORTD
CALL DELAY
BTFSC PORTD,4
GOTO B14
MOVLW .1
MOVWF ONLAR
MOVLW .3
MOVWF BIRLER
RETURN
B14
CALL DELAY
BTFSC PORTD,5
GOTO B15
MOVLW .1
MOVWF ONLAR
MOVLW .4
MOVWF BIRLER
RETURN
B15
CALL DELAY
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 .2500
MOVWF TEMP5
GOSTER1
MOVLW b'00001000'
MOVWF PORTB
MOVF BIRLER,W
MOVWF PORTD
CALL DELAY
MOVLW b'00000100'
MOVWF PORTB
MOVF ONLAR,W
MOVWF PORTD
CALL DELAY
MOVLW b'00000010'
MOVWF PORTB
MOVF YUZLER,W
MOVWF PORTD
CALL DELAY
MOVLW b'00000001'
MOVWF PORTB
MOVF BINLER,W
MOVWF PORTD
CALL DELAY
DECFSZ TEMP5
GOTO GOSTER1
RETURN


DELAY MOVLW .10
MOVWF COUNT1
DELAY1 MOVLW .10
MOVWF COUNT2
DELAY2 MOVLW .1
MOVWF COUNT3
DELAY3 MOVLW .1
MOVWF COUNT4
DELAY4 DECFSZ COUNT3
GOTO DELAY3
DECFSZ COUNT2
GOTO DELAY2
DECFSZ COUNT1
GOTO DELAY1
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.