	; ========================================================================================
	; Assembly language file automatically generated by Pigmeo Compiler 0.0.1-svn
	; Visit http://pigmeo.org/ for more information
	; 
	; Original file: /home/datos/Proyectos/pigmeo/apps de prueba para MCUs/PigmeoTestVB/PigmeoTestVB/bin/Release/PigmeoTestVB.exe
	; Saved to: userapp.asm
	; viernes, 04 de abril de 2008 19:33:41
	; ========================================================================================

INCLUDE p16f716.inc
PROCESSOR PIC16F716

bar EQU 0x00
foo EQU 0x00
PORTA EQU 0x05

	ORG 0x00
	GOTO Main
	ORG 0x04	;interruption vector
	GOTO EndOfApp	;Interruptions not implemented

Main
Main_I0	MOVLW 0x4	;ldc.i4.4
	MOVWF PORTA	;stsfld PORTA
Main_I2	MOVLW 0x38	;ldc.i4.s
	MOVWF foo	;stsfld foo
Main_I4	MOVF foo,0	;ldsfld
	MOVWF bar	;stsfld
Main_I6	MOVLW 0x13	;ldc.*
	ADDWF bar,1	;ldsfld uint8...add...stsfld uint8
	BTFSC	STATUS, 0x00	;overflow check
	GOTO EndOfApp	;overflow check
Main_I11	GOTO Main_I0	;br.s


EndOfApp	GOTO EndOfApp	;The application has ended, do nothing

END

