#include <p16f84a.inc>
cblock 0x20
delay1
delay2
endc
org0
bsf STATUS,RP0
clrf TRISB
clrf TRISA
bcf STATUS,RP0
clrf PORTB
main
movlw b'11000000'
movwf PORTB
call delay
movlw b'11111001'
movwf PORTB
call delay
movlw b'10100100'
movwf PORTB
call delay
movlw b'10110000'
movwf PORTB
call delay
movlw b'10011001'
movwf PORTB
call delay
movlw b'10010010'
movwf PORTB
call delay
movlw b'10000010'
movwf PORTB
call delay
movlw b'11111000'
movwf PORTB
call delay
movlw b'00000000'
movwf PORTB
call delay
movlw b'00010000'
movwf PORTB
call delay
stop goto stop ; <------- halt here!!!
delay
decfsz delay1,f
goto delay
decfsz delay2,f
goto delay
return
end