Can someone help me on Assembly code making on seven segment display?

Discussion in 'Programmer's Corner' started by miles chan, Apr 6, 2015.

  1. miles chan

    Thread Starter New Member

    Apr 6, 2015
    6
    0
    Create an assembly code that will make a common anode seven segment display count from 0 to F and back to 0. Assume that there is a subroutine named DELAY123. Pin configuration is shown below


    RB0 = e .... RA0 = NC

    RB1 = NC .... RA1 = c

    RB2 = NC ..... RA2 = a

    RB3 = f ...... RA3 = d

    RB4 = NC ..... RA4 = NC

    RB5 = g

    RB6 = b

    RB7 = NC
     
  2. joeyd999

    AAC Fanatic!

    Jun 6, 2011
    2,686
    2,748
    Looks like homework.

    Show us what you have so far.
     
  3. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,696
    904
    1) What have you done so far on this assignment?
    2) What processor are you using?
    3) Why are you using two ports?
    4) This snippet may be helpful to others:

    upload_2015-4-6_10-10-8.png
    John
     
  4. miles chan

    Thread Starter New Member

    Apr 6, 2015
    6
    0
    PIC
     
  5. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,696
    904
    Thank you. What's a "PIC?"

    John
     
Loading...