Results 1 to 3 of 3

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Zeus's Avatar
    Join Date: Jun:2006
    Location:
    Posts: 78

    Malko PIC 16F871

    :
    , . 16F84A . . ( MPLAB):

    list p=16f871
    #include <p16f871.inc>
    __CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _XT_OSC

    ORG H'0000'
    goto start

    start bsf STATUS,RP0
    bcf STATUS,RP1
    movlw B'10010100'
    movwf OPTION_REG
    bcf STATUS,RP0
    clrf PORTA
    clrf PORTB
    bsf STATUS,RP0
    clrf TRISA
    clrf TRISB
    loop nop
    goto loop
    END

    PORTA PORTB, 3 5 , 0. MCLR, , - . , .
    , , .

    P.S. IC-Prog

    ; Generated by WinDis84, (c) Nigel Goodwin 1998.

    LIST P=16F84, F=INHX8M
    include "P16FXX.inc"
    ORG 0x0000

    GOTO Label_0001
    Label_0001 BSF STATUS , RP0
    BCF STATUS , RP1
    MOVLW 0x94
    MOVWF OPTION_REG
    BCF STATUS , RP0
    CLRF PORTA
    CLRF PORTB
    BSF STATUS , RP0
    CLRF TRISA
    CLRF TRISB
    Label_0002 NOP
    GOTO Label_0002

    (LIST P=16F84, F=INHX8M), 16F871?

    P.P.S 4MHz, , 20MHz. 5V.
    Last edited by Zeus; 1st October 2006 at 19:38.

  2. #2
    Registered abUser ike's Avatar
    Join Date: Jul:2004
    Location: sofi
    Posts: 4,965
    Have no fear ike iz here.
    CPU Cx486DLC@40MHz, RAM 4MB, VGA Trident 512KB, HDD Conner 160MB, Monitor 14" Color

  3. #3
    Registered User Zeus's Avatar
    Join Date: Jun:2006
    Location:
    Posts: 78
    Quote Originally Posted by ike
    . . .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |