;******************************************************************************
;
; Processor Type
; ==============
LIST P=18F4520,r=hex,n=80,x=off,st=off
#include <P18F4520.INC>
;******************************************************************************
;
; Configuration bits
; ==================
; specified here are changes to the .inc file defaults
CONFIG OSC=INTIO67, PWRT=ON, BOREN=OFF, WDT=OFF, MCLRE=OFF, LPT1OSC=OFF, PBADEN=OFF
CONFIG LVP=OFF, XINST=OFF, DEBUG=OFF
;******************************************************************************
;
; Variables
; =========
cblock 0x000
test01
test02
endc
cblock 0x100
test11
test12
endc
cblock 0x200
test21
test22
endc
movlb D'1' ; select Bank1 and Access Ram
movlw 0x0A
movwf test01
movwf test11
movwf test21
movff test01,test02
movff test01,test12
movff test01,test21
movff test11,test22
end