list p=16f84
; Include file, change directory if needed
include "p16f84.inc"
org 0x00
INIT
bsf STATUS,RP0
clrf PORTB
clrf TRISB
bcf STATUS,RP0
BEGIN
movlw B'00000000'
movwf PORTB
movlw B'00000001'
movwf PORTB
movlw B'00000001'
movwf PORTB
movlw B'00000010'
movwf PORTB
movlw B'00000010'
movwf PORTB
movlw B'00000010'
movwf PORTB
movlw B'00000011'
movwf PORTB
movlw B'00000011'
movwf PORTB
movlw B'00000100'
movwf PORTB
movlw B'00000100'
movwf PORTB
movlw B'00000100'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000101'
movwf PORTB
movlw B'00000100'
movwf PORTB
movlw B'00000100'
movwf PORTB
movlw B'00000100'
movwf PORTB
movlw B'00000011'
movwf PORTB
movlw B'00000011'
movwf PORTB
movlw B'00000010'
movwf PORTB
movlw B'00000010'
movwf PORTB
movlw B'00000010'
movwf PORTB
movlw B'00000001'
movwf PORTB
movlw B'00000001'
movwf PORTB
movlw B'00000000'
movwf PORTB
movlw B'11111111'
movwf PORTB
movlw B'11111111'
movwf PORTB
movlw B'11111110'
movwf PORTB
movlw B'11111110'
movwf PORTB
movlw B'11111101'
movwf PORTB
movlw B'11111101'
movwf PORTB
movlw B'11111101'
movwf PORTB
movlw B'11111100'
movwf PORTB
movlw B'11111100'
movwf PORTB
movlw B'11111100'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111011'
movwf PORTB
movlw B'11111100'
movwf PORTB
movlw B'11111100'
movwf PORTB
movlw B'11111100'
movwf PORTB
movlw B'11111101'
movwf PORTB
movlw B'11111101'
movwf PORTB
movlw B'11111101'
movwf PORTB
movlw B'11111110'
movwf PORTB
movlw B'11111110'
movwf PORTB
movlw B'11111111'
movwf PORTB
movlw B'11111111'
goto BEGIN
end