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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/17/11 22:55
Read: times


 
#180666 - What does AND and OR?
Responding to: ???'s previous message
To set the third LED from the left in the following string, e.g.,

0000 0011

OR it with

0010 0000


This yields

0010 0011


To delete this LED again, AND

0010 0011

with the complement of

0010 0000

namely

1101 1111


This yields

0000 0011


Now, the same procedure with

0001 0000


...


Good luck,

Kai Klaas

List of 16 messages in thread
TopicAuthorDate
Help Help Codes for 8 LEDs Sand Watch in ASSEMBLY            01/01/70 00:00      
   Hourglass?            01/01/70 00:00      
      8 LEDs sand watch            01/01/70 00:00      
         Table or nested loops            01/01/70 00:00      
         Didn't you just repeat exactly the same post?            01/01/70 00:00      
         possible approach            01/01/70 00:00      
         LED Patterns            01/01/70 00:00      
            Using spreadsheets            01/01/70 00:00      
               Further -- Consider            01/01/70 00:00      
   Cart before horse            01/01/70 00:00      
   What does AND and OR?            01/01/70 00:00      
   last time I looked 89S52 had 8 kByte flash, ASSEMBLY?            01/01/70 00:00      
      First Cycle Compete            01/01/70 00:00      
         How to post legible source code            01/01/70 00:00      
         algorithm, assembler            01/01/70 00:00      
            Thanks for the help and support            01/01/70 00:00      

Back to Subject List