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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/01/06 09:10
Read: times


 
#117466 - No not homework
Responding to: ???'s previous message
I have to confess I have not jotted down my entire problem here. I am working on a data acquisition system which reads input from a few Octal Latches and sends the output to the parallel port of a computer. The latches are in turn connected to 8 different single line inputs. When ever any inputs go from LOW to HIGH, I have to report this to the parallel port. I figured out that if you have the last input (say LS = 0000100) in a register then inverting all the bits (i.e. getting 11110111) and ANDing it with the new input (say NS= 01010001) can give you the bits that went from LOW to HIGH, i.e. (01010001). This way the bit No that are high will identify the origin of the HIGH signal (in this case, 2, 4, 7). I will finally have to add these numbers with another number to indicate which Octal Latch the signal comes from. That way the parallel port will receive the absolute identification of the origin of the HIGH signals.

List of 43 messages in thread
TopicAuthorDate
Another standard problm in Assembly Lang            01/01/70 00:00      
   many ways            01/01/70 00:00      
      lookup table?            01/01/70 00:00      
         yup            01/01/70 00:00      
            hummmm            01/01/70 00:00      
   algorithm!            01/01/70 00:00      
   OK            01/01/70 00:00      
      forget the lookup table            01/01/70 00:00      
         no language dependency            01/01/70 00:00      
            abstraction            01/01/70 00:00      
            Direct Test            01/01/70 00:00      
               did you take it at Grossmont?            01/01/70 00:00      
               Wrong mark            01/01/70 00:00      
   just wonder            01/01/70 00:00      
      homework            01/01/70 00:00      
         No not homework            01/01/70 00:00      
         Bit 3?            01/01/70 00:00      
            Depends            01/01/70 00:00      
               reverse bit numbering            01/01/70 00:00      
                  reverse bit numbering: mirror            01/01/70 00:00      
               It's logical...            01/01/70 00:00      
            Thks            01/01/70 00:00      
               Unconventional            01/01/70 00:00      
                  Yes, now I know            01/01/70 00:00      
                     oops            01/01/70 00:00      
                     Radix notation            01/01/70 00:00      
   Why "Standard"?            01/01/70 00:00      
      give it in C            01/01/70 00:00      
         Finally Some Code            01/01/70 00:00      
            formatted            01/01/70 00:00      
               Much nicer            01/01/70 00:00      
                  OH boy            01/01/70 00:00      
                     No I havent            01/01/70 00:00      
               edited            01/01/70 00:00      
                  No Prob            01/01/70 00:00      
               Yes.            01/01/70 00:00      
                  try & ask            01/01/70 00:00      
                     OK            01/01/70 00:00      
                     Many Questions            01/01/70 00:00      
                        Q&A            01/01/70 00:00      
                           Man! That just made my day!            01/01/70 00:00      
               Revised Code            01/01/70 00:00      
   hi abhishek!!!            01/01/70 00:00      

Back to Subject List