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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/09/11 07:44
Read: times


 
#183274 - Debugged
Responding to: ???'s previous message
Actually I had attempted to go through the first code and i was getting some values that were not making much sense. With the corrections and explanations given it has made more sense and i am working through the math right now. the instructor isn't a problem at all. the biggest problem is the lack of time to go through lecture. i know if he came into the schools on the extra days that i come in he would be more than happy to explain things better. its just in the lab challenge that he gave us he said to use that code specifically. I do think I found a better way to do the conversion though. So far its working on single step and takes up less memory.


CNVRT:   MOV    B, A
         SWAP   A
         ANL    A, #0FH
         ORL    A, #30H
         ACALL  SEND
         MOV    A, B
         ANL    A, #0FH
         ORL    A, #30H
         ACALL  SEND
         RET

SEND:    MOV    SBUF, A
H1:      JNB    TI, H1
         CLR    TI
         RET
         END

 



List of 17 messages in thread
TopicAuthorDate
need help to display timer count on hyperterminal and LED'S            01/01/70 00:00      
   Attention to Details            01/01/70 00:00      
      divide by 10            01/01/70 00:00      
         Hundredth digit is quotient of division by 100            01/01/70 00:00      
            thanks            01/01/70 00:00      
               Debugged with pen and paper?            01/01/70 00:00      
                  Debugged            01/01/70 00:00      
                     Decimal or hexadecimal?            01/01/70 00:00      
                        decision            01/01/70 00:00      
                           So take up the challenge then            01/01/70 00:00      
                              agreed            01/01/70 00:00      
                        Actually BCD!!            01/01/70 00:00      
   Oh Details Details            01/01/70 00:00      
      update            01/01/70 00:00      
         Issues            01/01/70 00:00      
            better to check before sending            01/01/70 00:00      
               Even Better....            01/01/70 00:00      

Back to Subject List