Once it hits END_LOOP it will stay there forever, This is sorta what PBP's END does.. I think//Code:Main_loop: ; Check if X_steps_lb is zero tstfsz X_steps_lb ; Test, skip next if equal goto Main_loop ; More steps to do, so loop bcf INTCON,7 ; Disable all high priority interrupts bcf INTCON,6 ; Disable all low priority interrupts bcf T0CON,7 ; Timer0 off bcf T1CON,0 ; Timer1 off END_LOOP: GOTO END_LOOP end





Bookmarks