help in pic16f84a

Discussion in 'Embedded Systems and Microcontrollers' started by mauda, Oct 30, 2010.

  1. mauda

    Thread Starter New Member

    Oct 30, 2010
    6
    0
    hi all

    i need u to help me with something

    in pic16f84a using assembly

    suppose that portb is input

    how can i copy the data at portb to all GPR

    i really need a hint



    and thanks

    m auda
     
  2. Markd77

    Senior Member

    Sep 7, 2009
    2,803
    594
    Look into using INDF and FSR if you want to copy it to multiple places, it's called indirect addressing.
     
  3. mauda

    Thread Starter New Member

    Oct 30, 2010
    6
    0
    OK i will try now , i saw it in the datasheet

    thanks a lot
     
Loading...