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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/25/13 18:40
Read: times


 
#189471 - Program flow
Responding to: ???'s previous message
I sort of hand walked the program and am finding several errors. Everything seems ok up to DATA_DISPLAY: block. The dec and ascii conversion routines appear to place a 3 byte value starting at memory location 50H. Using your figure of dec 78, 38 is at 50H, 37 is at 51H and 00 is at 52H. These are the ascii numbers.
The display routine pulls the byte from 50H, stores it in R1 and destroys the indirect pointer that was there. Then the byte is sent a nibble at a time to the display. Then the program goes back, gets a new conversion and starts all over again. All this program will do is to try and display the least significant digit.
On startup, does the display show the words from the init section, such as "ACTUAL", "TEMP", "SET", "MODE", "JB" ?

List of 22 messages in thread
TopicAuthorDate
How to display data from a ADC0808 to a LCD            01/01/70 00:00      
   Comments, please            01/01/70 00:00      
      Comments            01/01/70 00:00      
         Code Fragments            01/01/70 00:00      
            Commenst added, reply to hal            01/01/70 00:00      
               comments            01/01/70 00:00      
                  comments            01/01/70 00:00      
                     Program flow            01/01/70 00:00      
                        comments            01/01/70 00:00      
                           Clarification & Suggestions            01/01/70 00:00      
                              GREAT HELP            01/01/70 00:00      
                                 Data Display loop            01/01/70 00:00      
                                    Worked sorta            01/01/70 00:00      
                                       The output            01/01/70 00:00      
                                          I looked at it wrong            01/01/70 00:00      
                                             Works            01/01/70 00:00      
                                                Great news!            01/01/70 00:00      
                                                   Thank you            01/01/70 00:00      
                                                      You're Welcome            01/01/70 00:00      
                                                      A couple of questions            01/01/70 00:00      
                                                         Answers and questions            01/01/70 00:00      
                                                            Thanks            01/01/70 00:00      

Back to Subject List