	; ========================================================================================
	; Assembly language file automatically generated by Pigmeo Compiler 0.1-svn
	; Visit http://pigmeo.org/ for more information
	; 
	; Original file: /home/datos/Proyectos/pigmeo/apps de prueba para MCUs/app002/app002/bin/Release/app002.exe
	; Saved to: userapp.asm
	; jueves, 03 de abril de 2008 12:36:49
	; ========================================================================================

INCLUDE p16f716.inc
PROCESSOR PIC16F716

PORTB EQU 0x06
PORTA EQU 0x05

	ORG 0x00
	GOTO Main
	ORG 0x04	;interruption vector
	GOTO EndOfApp	;Interruptions not implemented

Main
	MOVLW 0x3B	;ldc.i4.s
	MOVWF PORTA	;stsfld PORTA
	INCF PORTA,1	;ldsfld uint8, ldc.*, add, conv.u1, stsfld uint8
	MOVLW 0xA	;ldc.*
	ADDWF PORTA,1	;ldsfld uint8...add...stsfld uint8
	MOVF PORTA,0	;ldsfld
	MOVWF PORTB	;stsfld
	DECF PORTB,1	;ldsfld uint8, ldc.*, sub, conv.u1, stsfld uint8
	MOVLW 0x60	;ldc.*
	SUBWF PORTA,1	;ldsfld uint8...sub...stsfld uint8
	GOTO EndOfApp	;ret


EndOfApp	GOTO EndOfApp	;The application has ended, do nothing

END

