waveloop_5 ; loop time is 3uS - DAC inc is 4 ; F=5.20833 KHz movlw 0x80 ; movwf PORTB ; l_51 movlw 0 ; WAV-1 movwf PORTB ; put it to the DAC movlw 0 ; WAV-2 movwf PORTB ; put it to the DAC movlw 0 ; WAV-3 movwf PORTB ; put it to the DAC movlw 0 ; WAV-4 movwf PORTB ; put it to the DAC movlw 0 ; WAV-5 movwf PORTB ; put it to the DAC movlw 128 ; WAV-6 movwf PORTB ; put it to the DAC movlw 138 ; WAV-7 movwf PORTB ; put it to the DAC movlw 128 ; WAV-8 movwf PORTB ; put it to the DAC movlw 118 ; WAV-9 movwf PORTB ; put it to the DAC movlw 128 ; WAV-10 movwf PORTB ; put it to the DAC movlw 138 ; WAV-11 movwf PORTB ; put it to the DAC movlw 128 ; WAV-12 movwf PORTB ; put it to the DAC movlw 118 ; WAV-13 movwf PORTB ; put it to the DAC movlw 128 ; WAV-14 movwf PORTB ; put it to the DAC movlw 138 ; WAV-15 movwf PORTB ; put it to the DAC movlw 128 ; WAV-16 movwf PORTB ; put it to the DAC movlw 128 ; WAV-17 movwf PORTB ; put it to the DAC movlw 150 ; WAV-18 movwf PORTB ; put it to the DAC movlw 150 ; WAV-19 movwf PORTB ; put it to the DAC movlw 150 ; WAV-20 movwf PORTB ; put it to the DAC movlw 90 ; WAV-21 movwf PORTB ; put it to the DAC movlw 90 ; WAV-22 movwf PORTB ; put it to the DAC movlw 90 ; WAV-23 movwf PORTB ; put it to the DAC movlw 150 ; WAV-24 movwf PORTB ; put it to the DAC movlw 150 ; WAV-25 movwf PORTB ; put it to the DAC movlw 150 ; WAV-26 movwf PORTB ; put it to the DAC movlw 90 ; WAV-27 movwf PORTB ; put it to the DAC movlw 90 ; WAV-28 movwf PORTB ; put it to the DAC movlw 90 ; WAV-29 movwf PORTB ; put it to the DAC movlw 130 ; WAV-30 movwf PORTB ; put it to the DAC movlw 131 ; WAV-31 movwf PORTB ; put it to the DAC movlw 132 ; WAV-32 movwf PORTB ; put it to the DAC movlw 133 ; WAV-33 movwf PORTB ; put it to the DAC movlw 134 ; WAV-34 movwf PORTB ; put it to the DAC movlw 135 ; WAV-35 movwf PORTB ; put it to the DAC movlw 136 ; WAV-36 movwf PORTB ; put it to the DAC movlw 137 ; WAV-37 movwf PORTB ; put it to the DAC movlw 138 ; WAV-38 movwf PORTB ; put it to the DAC movlw 139 ; WAV-39 movwf PORTB ; put it to the DAC movlw 140 ; WAV-40 movwf PORTB ; put it to the DAC movlw 141 ; WAV-41 movwf PORTB ; put it to the DAC movlw 142 ; WAV-42 movwf PORTB ; put it to the DAC movlw 143 ; WAV-43 movwf PORTB ; put it to the DAC movlw 144 ; WAV-44 movwf PORTB ; put it to the DAC movlw 145 ; WAV-45 movwf PORTB ; put it to the DAC movlw 146 ; WAV-46 movwf PORTB ; put it to the DAC movlw 147 ; WAV-47 movwf PORTB ; put it to the DAC movlw 148 ; WAV-48 movwf PORTB ; put it to the DAC movlw 149 ; WAV-49 movwf PORTB ; put it to the DAC movlw 150 ; WAV-50 movwf PORTB ; put it to the DAC movlw 150 ; WAV-51 movwf PORTB ; put it to the DAC movlw 150 ; WAV-52 movwf PORTB ; put it to the DAC movlw 150 ; WAV-53 movwf PORTB ; put it to the DAC movlw 150 ; WAV-54 movwf PORTB ; put it to the DAC movlw 200 ; WAV-55 movwf PORTB ; put it to the DAC movlw 200 ; WAV-56 movwf PORTB ; put it to the DAC movlw 200 ; WAV-57 movwf PORTB ; put it to the DAC movlw 200 ; WAV-58 movwf PORTB ; put it to the DAC movlw 200 ; WAV-59 movwf PORTB ; put it to the DAC movlw 100 ; WAV-60 movwf PORTB ; put it to the DAC movlw 100 ; WAV-61 movwf PORTB ; put it to the DAC movlw 100 ; WAV-62 movwf PORTB ; put it to the DAC movlw 100 ; WAV-63 movwf PORTB ; put it to the DAC movlw 100 ; WAV-64 movwf PORTB ; put it to the DAC movlw 150 ; WAV-65 movwf PORTB ; put it to the DAC movlw 150 ; WAV-66 movwf PORTB ; put it to the DAC movlw 150 ; WAV-67 movwf PORTB ; put it to the DAC movlw 150 ; WAV-68 movwf PORTB ; put it to the DAC movlw 150 ; WAV-69 movwf PORTB ; put it to the DAC movlw 149 ; WAV-70 movwf PORTB ; put it to the DAC movlw 148 ; WAV-71 movwf PORTB ; put it to the DAC movlw 147 ; WAV-72 movwf PORTB ; put it to the DAC movlw 146 ; WAV-73 movwf PORTB ; put it to the DAC movlw 145 ; WAV-74 movwf PORTB ; put it to the DAC movlw 144 ; WAV-75 movwf PORTB ; put it to the DAC movlw 143 ; WAV-76 movwf PORTB ; put it to the DAC movlw 142 ; WAV-77 movwf PORTB ; put it to the DAC movlw 141 ; WAV-78 movwf PORTB ; put it to the DAC movlw 140 ; WAV-79 movwf PORTB ; put it to the DAC movlw 142 ; WAV-80 movwf PORTB ; put it to the DAC movlw 144 ; WAV-81 movwf PORTB ; put it to the DAC movlw 146 ; WAV-82 movwf PORTB ; put it to the DAC movlw 148 ; WAV-83 movwf PORTB ; put it to the DAC movlw 150 ; WAV-84 movwf PORTB ; put it to the DAC movlw 152 ; WAV-85 movwf PORTB ; put it to the DAC movlw 154 ; WAV-86 movwf PORTB ; put it to the DAC movlw 156 ; WAV-87 movwf PORTB ; put it to the DAC movlw 158 ; WAV-88 movwf PORTB ; put it to the DAC movlw 160 ; WAV-89 movwf PORTB ; put it to the DAC movlw 158 ; WAV-90 movwf PORTB ; put it to the DAC movlw 156 ; WAV-91 movwf PORTB ; put it to the DAC movlw 154 ; WAV-92 movwf PORTB ; put it to the DAC movlw 152 ; WAV-93 movwf PORTB ; put it to the DAC movlw 150 ; WAV-94 movwf PORTB ; put it to the DAC movlw 128 ; WAV-95 movwf PORTB ; put it to the DAC movlw 255 ; WAV-96 movwf PORTB ; put it to the DAC movlw 255 ; WAV-97 movwf PORTB ; put it to the DAC movlw 255 ; WAV-98 movwf PORTB ; put it to the DAC movlw 255 ; WAV-99 movwf PORTB ; put it to the DAC goto l_51 ; and loop