Guest User

Untitled

a guest
Mar 12th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pic 16 0.29 KB | None | 0 0
  1.  
  2. LIST P=16F54
  3. #include <P16F5X.INC> ;processor specific variable definitions
  4. __CONFIG _CP_OFF & _WDT_OFF & _XT_OSC
  5.  
  6.  
  7. PORTB   EQU 0x0006
  8. TRISB   EQU     H'0086'
  9.  
  10. goto START;
  11. goto START;
  12. goto START;
  13. START:;
  14.     movlw 0x0; tris PORTB;
  15.     movlw 0x55;
  16.     movwf PORTB;
  17.     goto  START;
  18.  
  19. END
Add Comment
Please, Sign In to add comment