WavePOD WaveLoop 6

WaveLoop 6
waveloop_6                          ; loop time is 3uS - DAC inc is 8
                                    ; F=10.41667 KHz
        movlw   0x80                ;
        movwf   PORTB               ;
l_61
        movlw   1                   ; 2 uS delay per increment
        call    us_timer            ; plus 1uS code - do the delay
        movlw   8                   ; increment the DAC by 8
        addwf   PORTB,f             ; do it
        goto    l_61                ; and loop