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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/09/07 15:43
Read: times


 
#134646 - How to perform subtract/multiple
Responding to: ???'s previous message
Still new to all this programming.
I've sort of figured out some of the problem with this input capture thing. It's triggering correctly, math is there, and i believe processing time plays a part between servicing the interrupt routine and performing regular main loop task.

another question now,

I want to perform (x-1)*y, where x is my number of overflow and y is my TOR2. Results are stored as a long.

Unfortunately, the multiplication will not perform correctly if x gets too large. Will assembly work? How do i do it in assembly?

Thanks

List of 9 messages in thread
TopicAuthorDate
some assistance in input capture            01/01/70 00:00      
   what is an ICB?            01/01/70 00:00      
      input capture B            01/01/70 00:00      
         How are you getting the values?            01/01/70 00:00      
   Divide and conquer!            01/01/70 00:00      
      Will try that            01/01/70 00:00      
         example            01/01/70 00:00      
   How to perform subtract/multiple            01/01/70 00:00      
      Code Library            01/01/70 00:00      

Back to Subject List