Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/11/03 13:00
Read: times


 
#38773 - RE: check code for 7-segment display
Responding to: ???'s previous message
This will increase the code length nothing else.
At my place i tried by forming the look up table for the same.
Define lookup table at some place which contains the codes for displayng the 0 to 9 digits on the display.
At the time of displaying get the data pointer for the lookup table & address it by puting the perticuler byte in the accumulator which has to be displayed.
Mov A,r0
Mov dptr,#1000h
Movc A,@A+dptr

A will have the code for the perticulay byte you wanted to display.



List of 5 messages in thread
TopicAuthorDate
check code for 7-segment display            01/01/70 00:00      
   RE: check code for 7-segment display            01/01/70 00:00      
      RE: check code for 7-segment display            01/01/70 00:00      
   RE: check code for 7-segment display            01/01/70 00:00      
   RE: check code for 7-segment display            01/01/70 00:00      

Back to Subject List