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

Thread Starter

miles chan

Joined Apr 6, 2015
6
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
 

jpanhalt

Joined Jan 18, 2008
9,438
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
 
Top