WavePOD WaveLoop 7

WaveLoop 7
waveloop_7                          ; loop time is 3uS - DAC inc is 16
                                    ; F=20.8333 KHz
        movlw   0x80                ;
        movwf   PORTB               ;
l_71
        movlw   1                   ; 2 uS delay per increment
        call    us_timer            ; plus 1uS code - do the delay
        movlw   16                  ; increment the DAC by 16
        addwf   PORTB,f             ; do it
        goto    l_71                ; and loop