WavePOD WaveLoop 9

WaveLoop 9
waveloop_9                          ; loop time is 3uS - DAC inc is 77
                                    ; F=100.2604 KHz
        movlw   0x80                ;
        movwf   PORTB               ;
l_91
        movlw   1                   ; 2 uS delay per increment
        call    us_timer            ; plus 1uS code - do the delay
        movlw   77                  ; increment the DAC by 77
        addwf   PORTB,f             ; do it
        goto    l_91                ; and loop