
; PicBasic Pro Compiler 2.03,  Copyright (c) 1998 microEngineering Labs, Inc.     All Rights Reserved.

PM_USED			EQU	1

	INCLUDE	"16F84.INC"

RAM_START       		EQU	0000Ch
RAM_END         		EQU	0004Fh
RAM_BANKS       		EQU	00001h
BANK0_START     		EQU	0000Ch
BANK0_END       		EQU	0004Fh
EEPROM_START    		EQU	02100h
EEPROM_END      		EQU	0213Fh

R0              		EQU	RAM_START + 000h
R1              		EQU	RAM_START + 002h
R2              		EQU	RAM_START + 004h
R3              		EQU	RAM_START + 006h
R4              		EQU	RAM_START + 008h
R5              		EQU	RAM_START + 00Ah
R6              		EQU	RAM_START + 00Ch
R7              		EQU	RAM_START + 00Eh
FLAGS           		EQU	RAM_START + 010h
GOP             		EQU	RAM_START + 011h
RM1             		EQU	RAM_START + 012h
RM2             		EQU	RAM_START + 013h
RR1             		EQU	RAM_START + 014h
RR2             		EQU	RAM_START + 015h
_PORTL           		EQU	PORTB
_PORTH           		EQU	PORTA
_TRISL           		EQU	TRISB
_TRISH           		EQU	TRISA

; Constants.

; Commands Used.
SOUNDPIN_USED   	= 	001h
SOUND_USED      	= 	001h
GOTO_USED       	= 	001h

	INCLUDE	"SOUND1.MAC"
	INCLUDE	"PBPPIC14.LIB"

_loop	
	SOUNDPIN?C	001h
	SOUND?CC	000h, 001h
	GOTO?L	_loop

	END
