0
yas's Avatar
yas
Newbie Member
Sorry i'm newbie here and like to learn.I had a problem here can anyone give a code/solution for this problem,i had try but fail.

8085

Question:
Connect a DIP switch to port B and 7 segment(common Cathode) to port C.Write a program to read input from DIP switch connected to port B and display them on each segment of the 7 segment as show below:

DIP SWITCH 7 segment
0000 - all segments off
0001 - segment A on,others off
0010 - segment B on,others off
0011 - segment C on, others off
0100 - segment D on,others off
0101 - segment E on, others off
0110 - segment F on,others off
0111 - segment G on, others off
1000 - segment DP on,others off
1001 - all segment on
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Could you start your own thread rather than hijacking someone else's thread?
0
yas's Avatar
yas
Newbie Member
sorry for my stupidity
0
rahulkspzr's Avatar, Join Date: Dec 2009
Newbie Member
The org means the beginning location in RAM.That is the location from which the code writing is beginning.