Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
;**********************************************************************
list p=16F84A ; list directive to define processor
#include <p16F84A.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_ON & _PWRTE_ON & _RC_OSC
; '__CONFIG' directive is used to embed configuration data within .asm file.
; The lables following the directive are located in the respective .inc file.
; See respective data sheet for additional information on configuration word.
;***** VARIABLE DEFINITIONS
;w_temp EQU 0x0C ; variable used for context saving
;status_temp EQU 0x0D ; variable used for context saving
;**********************************************************************
ORG 0x000 ; processor reset vector
goto main ; go to beginning of program
main
; remaining code goes here
END ; directive 'end of program'
list p= 16f84a
include <p16f84a.inc>
__config _HS_OSC & _WDT_OFF & _PWRTE_ON
movlw .5
clrw
nop
end