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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Hal Albach
02/25/13 11:40
Read: 918 times
Seminole, Florida
USA


 
#189471 - Program flow
Responding to: James Brzycki'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      James Brzycki      02/24/13 09:46      
   Comments, please      Hal Albach      02/24/13 17:25      
      Comments      James Brzycki      02/24/13 17:56      
         Code Fragments      Hal Albach      02/24/13 21:01      
            Commenst added, reply to hal      James Brzycki      02/24/13 21:11      
               comments      Hal Albach      02/24/13 22:46      
                  comments      James Brzycki      02/25/13 06:33      
                     Program flow      Hal Albach      02/25/13 11:40      
                        comments      James Brzycki      02/25/13 21:45      
                           Clarification & Suggestions      Hal Albach      02/26/13 07:44      
                              GREAT HELP      James Brzycki      02/26/13 11:39      
                                 Data Display loop      Hal Albach      02/26/13 12:24      
                                    Worked sorta      James Brzycki      02/27/13 06:57      
                                       The output      Hal Albach      02/27/13 15:29      
                                          I looked at it wrong      James Brzycki      02/27/13 17:19      
                                             Works      James Brzycki      02/27/13 20:35      
                                                Great news!      Hal Albach      02/28/13 07:05      
                                                   Thank you      James Brzycki      02/28/13 07:15      
                                                      You're Welcome      Hal Albach      02/28/13 08:33      
                                                      A couple of questions      Hal Albach      02/28/13 11:06      
                                                         Answers and questions      James Brzycki      02/28/13 11:54      
                                                            Thanks      Hal Albach      02/28/13 12:36      

Back to Subject List