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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/17/08 15:51
Read: times


 
#150959 - 16 bit subtraction
Responding to: ???'s previous message
The reason I cannot give the exact value that is being returned is beacause it is very difficult to check it on my board. Let me explain. I am using this routine for a encoder measurement. I am simulatng the encoder pulse stream with a switch. The subtraction is a step to calculate the balance pulses. In the experimental set up I can calculate that the balance switch actuations should be eight to bring a counter to zero but even 100 to 200 switch actuations are also not zeroing my counter. This is only happening if the value to be subtracted is "all zero."

However I am immensly sure about the experience available on this forum. I have been able to solve many a silly doubts here. I will go back on Monday and recheck my code for any goofs.

thanks

List of 6 messages in thread
TopicAuthorDate
16 bit subtraction with 8051            01/01/70 00:00      
   So what is the result?            01/01/70 00:00      
   Lets have a close look            01/01/70 00:00      
      16 bit subtraction            01/01/70 00:00      
         Debug-ability needs to be designed-in            01/01/70 00:00      
            16 bit subtraction            01/01/70 00:00      

Back to Subject List